]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix bug introduced in rewrite of keg_free_slab in -r251894.
authorKirk McKusick <mckusick@FreeBSD.org>
Sat, 31 Aug 2013 15:40:15 +0000 (15:40 +0000)
committerKirk McKusick <mckusick@FreeBSD.org>
Sat, 31 Aug 2013 15:40:15 +0000 (15:40 +0000)
commit1645995b97556167978a9ca5733d37ecf6e19cdc
treec38b3bd01e8ebc63d1458b902bd7eaa6a3263505
parent2f393c15a611276dfa460c39e31025b67fcfa7de
Fix bug introduced in rewrite of keg_free_slab in -r251894.
The consequence of the bug is that fini calls are not done
when a slab is freed by a call-back from the page daemon.
It went unnoticed for two months because fini is little used.

I spotted the bug while reading the code to learn how it works
so I could write it up for the next edition of the Design and
Implementation of FreeBSD book.

No MFC needed as this code exists only in HEAD.

Reviewed by: kib, jeff
Tested by:   pho
sys/vm/uma_core.c