Thread (1 message) 1 message, 1 author, 2000-09-25
  • (off-list ancestor, not in this archive)
  • Re: the new VMt · <hidden> · 2000-09-25

Re: the new VMt

From: <hidden>
Date: 2000-09-25 17:51:39

On Mon, Sep 25, 2000 at 07:18:29PM +0200, Jamie Lokier wrote:
yodaiken@fsmlabs.com wrote:
quoted
   walk = out;
        while(nfds > 0) {
                poll_table *tmp = (poll_table *) __get_free_page(GFP_KERNEL);
                if (!tmp) {
Shouldn't this be GFP_USER?  (Which would also conveniently fix the
problem Victor's pointing out...)
It should probably be GFP_ATOMIC, if I understand the mm right. 

The algorithm for requesting a collection of reources and freeing all of them
 on failure is simple, fast, and robust. 


              

-- 
---------------------------------------------------------
Victor Yodaiken 
Finite State Machine Labs: The RTLinux Company.
 www.fsmlabs.com  www.rtlinux.com

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help