Re: [PATCH 3/6] mm: grub_real_malloc: make small allocs comment match code

2021-12-08 Thread Daniel Kiper
On Thu, Nov 25, 2021 at 02:22:47AM +1100, Daniel Axtens wrote: > Small allocations move the region's *first pointer. The comment > says that this happens for allocations under 64K. The code says > it's for allocations under 32K. Commit 45bf8b3a7549 changed the > code intentionally: make the

[PATCH 3/6] mm: grub_real_malloc: make small allocs comment match code

2021-11-24 Thread Daniel Axtens
Small allocations move the region's *first pointer. The comment says that this happens for allocations under 64K. The code says it's for allocations under 32K. Commit 45bf8b3a7549 changed the code intentionally: make the comment match. Fixes: 45bf8b3a7549 (" * grub-core/kern/mm.c