On Thu, 2 Sep 2010, Jiri Slaby wrote:It actually does work as I expect since the WARN_ON_ONCE() never even gets triggered here for any of kmalloc_nofail()'s callers since they all have sizes small enough that the conditional is never true. The page allocator implicitly loops forever if the order <= PAGE_ALLOC_COSTLY_ORDER, so this warning is only emitted if the #define implementation of the page allocator only changes. That's intended, we want to know the consequences of our change. No, it didn't, it was unnecessary for all of the kmalloc_nofail() callers since they already implicitly loop. No warning is emitted (these are all GFP_NOFS or GFP_NOIO users, there are no order-4 or larger GFP_ATOMIC allocators using this interface). Couple reasons: - it's unnecessary in the page allocator, it can be implemented at a higher level, which allows us to remove these branches from the slowpath, - it's mostly unnecessary since all users have orders that will implicitly loop forever anyway (although __GFP_NOFAIL does guarantee that it won't fail even if we change the looping behavior internally, these warnings help to isolate cases where it's needed), and --
| Greg KH | Og dreams of kernels |
| Jens Axboe | [PATCH 31/33] Fusion: sg chaining support |
| Arnd Bergmann | Re: finding your own dead "CONFIG_" variables |
| Mark Brown | [PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset |
| Tony Breeds | [LGUEST] Look in object dir for .config |
git: | |
| Brian Downing | Re: Git in a Nutshell guide |
| John Benes | Re: master has some toys |
| Matthias Lederhofer | [PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree |
| Alexander Sulfrian | [RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set |
| Junio C Hamano | Re: Rss produced by git is not valid xml? |
| Linux Kernel Mailing List | iSeries: fix section mismatch in iseries_veth |
| Linux Kernel Mailing List | ixbge: remove TX lock and redo TX accounting. |
| Linux Kernel Mailing List< |
