• N
    mm: fix assertion · 18e6959c
    Nick Piggin 提交于
    This assertion is incorrect for lockless pagecache.  By definition if we
    have an unpinned page that we are trying to take a speculative reference
    to, it may become the tail of a compound page at any time (if it is
    freed, then reallocated as a compound page).
    
    It was still a valid assertion for the vmscan.c LRU isolation case, but
    it doesn't seem incredibly helpful...  if somebody wants it, they can
    put it back directly where it applies in the vmscan code.
    Signed-off-by: NNick Piggin <npiggin@suse.de>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    18e6959c
mm.h 44.8 KB