Re: [RFC 0/7] Postphone reclaim laundry to write at high water marks



On Wed, Aug 22, 2007 at 12:09:03AM +0200, Peter Zijlstra wrote:
Strictly speaking:

if:

page = alloc_page(gfp);

fails but:

obj = kmem_cache_alloc(s, gfp);

succeeds then its a bug.

Why? this is like saying that if alloc_pages(order=1) fails but
alloc_pages(order=0) succeeds then it's a bug. Obviously it's not a
bug.

The only bug is if slab allocations <=4k fails despite
alloc_pages(order=0) would succeed.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Yet again - closing a thread
    ... do you know that the wait succeeds? ... you are forced to think about what proper recovery is and how to ... If the wait call fails, ... It is probably a bug if the wait fails, but it is best to catch and analyze the bug at ...
    (microsoft.public.vc.mfc)
  • (Swi) current_predicate/1 problem
    ... I dont know exactly, but the following seems a bug. ... Now the following succeeds: ... While the following fails: ...
    (comp.lang.prolog)
  • Weekly Python Patch/Bug Summary
    ... Patch / Bug Summary ... new exit and quit objects ... Python memory allocator: Free memory ... tkinter Dialog fails when more than four buttons are used ...
    (comp.lang.python)
  • Re: GRACE WAS A REALITY ONCE..DONT MISS THIS ONE..!
    ... 400 words on your hope for the Obama presidency, ... aisle who have caved and who say, "Well, I hope he succeeds. ... what is unfair about my saying I hope liberalism fails? ... Liberalism is our problem. ...
    (alt.vacation.las-vegas)
  • Weekly Python Patch/Bug Summary
    ... Patch / Bug Summary ... http://python.org/sf/1126187 opened by Philippe Kirsanov ... Fix to allow urllib2 digest auth to talk to livejournal.com ... gensuitemodule.processfile fails ...
    (comp.lang.python)