Re: [patch 2/13] remove pages from the LRU in __free_pages_ok()

David S. Miller
2002-07-29T03:51:04Z

From: Linus Torvalds <torvalds@transmeta.com>
Date: Sun, 28 Jul 2002 20:51:13 -0700 (PDT)

On Sun, 28 Jul 2002, David S. Miller wrote:
> They must never run from HW irqs, in fact there is a BUG()
> check there against this.

From a page cache standpoint softirq's are 100% equivalent to
hardware irq's, so that doesn't much help here.

Wait are we trying to make the final freeing of (potentially)
LRU/page-cache pages from any non-base context illegal?

If that really becomes an issue we can do something which moves
this back to user context when the result of doing it in irq
context would be problematic.