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

David S. Miller (davem@redhat.com)
Sun, 28 Jul 2002 22:43:02 -0700 (PDT)


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

But the thing is, nobody should normally have a reference to such a
page anyway. The only way they happen is by something mapping a
page from user space, and saving it away, while the user space goes
away and drops its references to the page.

Ignoring for a moment whether you agree with the idea of zero-copying
userspace pages over sockets, I would at least like to retain the
ability to experiment with something like this.

I'm not all that opposed to Andrew's described scheme of making the
LRU lock IRQ safe. And it would allow one to experiment with
userpage socket zerocopy.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/