[lkml]   [2001]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: GFP_FAIL?

> > I need to alloc as much memory as possible, *but not more*. I do not
> > want to OOM-kill anything. How do I do this? Tried GFP_KERNEL, will
> > oom-kill. GFP_USER will OOM-kill, too.
> Try GFP_ATOMIC; GFP_KERNEL sets the __GFP_WAIT flag and you don't
> want that.

No, I want other apps to be moved to swap, dirty data written out
etc. I really can't live with GFP_ATOMIC.

> But, if you're really asking how to know how large the current working set is,
> so that you don't grab more than your applications are going to need and
> eventually OOM, you'll need to set GFP_HAVE_CRYSTAL_BALL ;-)

I want to push just as much that I do not cause OOM. I'll stop
applications real soon after that.

Causalities in World Trade Center: 6453 dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.042 / U:1.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site