News for hackers. Stuff that matters.
Re:The future of M:N threading by _wmd on Wednesday November 13, 2013 @06:43PM (#6729454)
Under pressure, it will eventually page the memory back out, but generally you never want to get your machine into a state where paging happens. Aside from that, there is no mechanism that allows the kernel to know the memory is no longer used unless you explicitly tell it, e.g. via madvise(2).

Though I can't think of a sane way to call madvise(2) involving a thread stack

There are no comments on this comment yet.