Commit 20b5c303 authored by Committed by Linus Torvalds
Revert "gfp: add __GFP_NOACCOUNT"
This reverts commit 8f4fc071 ("gfp: add __GFP_NOACCOUNT"). Black-list kmem accounting policy (aka __GFP_NOACCOUNT) turned out to be fragile and difficult to maintain, because there seem to be many more allocations that should not be accounted than those that should be. Besides, false accounting an allocation might result in much worse consequences than not accounting at all, namely increased memory consumption due to pinned dead kmem caches. So it was decided to switch to the white-list policy. This patch reverts bits introducing the black-list policy. The white-list policy will be introduced later in the series. Signed-off-by: Vladimir Davydov <firstname.lastname@example.org> Acked-by: Johannes Weiner <email@example.com> Cc: Michal Hocko <firstname.lastname@example.org> Cc: Tejun Heo <email@example.com> Cc: Greg Thelen <firstname.lastname@example.org> Cc: Christoph Lameter <email@example.com> Cc: Pekka Enberg <firstname.lastname@example.org> Cc: David Rientjes <email@example.com> Cc: Joonsoo Kim <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Showing with 1 addition and 6 deletions