SLQB: fix dumb early allocation cache
The dumb early allocation cache had a bug where it could allow allocation to go past the end of a page, which could cause crashes or random memory corruption. Fix this and simplify the logic. [ penberg@cs.helsinki.fi: fix whitespace issues pointed out by Anton Vorontsov] Reported-by:Stephen Rothwell <sfr@canb.auug.org.au> Tested-by:
Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by:
Nick Piggin <npiggin@suse.de> Signed-off-by:
Pekka Enberg <penberg@cs.helsinki.fi>
Showing
Please register or sign in to comment