aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2017-03-20 02:00:47 +0000
committerLinus Torvalds <[email protected]>2017-03-20 02:00:47 +0000
commit452b94b8c8c7eb7dd0d0fa9a9776e0d02cd73b97 (patch)
tree6a16a4ba7501718b26fc68ac16570272908dbbb5 /net/unix/garbage.c
parentMerge tag 'powerpc-4.11-5' of git://git.kernel.org/pub/scm/linux/kernel/git/p... (diff)
downloadkernel-452b94b8c8c7eb7dd0d0fa9a9776e0d02cd73b97.tar.gz
kernel-452b94b8c8c7eb7dd0d0fa9a9776e0d02cd73b97.zip
mm/swap: don't BUG_ON() due to uninitialized swap slot cache
This BUG_ON() triggered for me once at shutdown, and I don't see a reason for the check. The code correctly checks whether the swap slot cache is usable or not, so an uninitialized swap slot cache is not actually problematic afaik. I've temporarily just switched the BUG_ON() to a WARN_ON_ONCE(), since I'm not sure why that seemingly pointless check was there. I suspect the real fix is to just remove it entirely, but for now we'll warn about it but not bring the machine down. Cc: "Huang, Ying" <[email protected]> Cc: Tim Chen <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions