News for hackers. Stuff that matters.
Re:The C Bounded Model Checker: Criminally Underused by jcranmer on Tuesday January 30, 2024 @08:02PM (#39198338)
No, it's specifically a write that causes the page to actually be freed. Per the man page:

> However, subsequent writes to pages in the range will succeed and then kernel cannot free those dirtied pages, so that the caller can always see just written data. If there is no subsequent write, the kernel can free the pages at any time. Once pages in the range have been freed, the caller will see zero-fill-on-demand pages upon subsequent page references.

Re:The C Bounded Model Checker: Criminally Underused by o11c on Tuesday January 30, 2024 @08:09PM (#39198391)
Ah, I mixed up MADV_DONTNEED (which is older) with MADV_FREE.