RE: [for-linus][PATCH 0/3] tracing: Fixes for v6.8
From: David Laight
Date: Sun Mar 10 2024 - 14:16:10 EST
..
> Another issue that was brought up is that the trace_seq buffer is
> also based on PAGE_SIZE even though it is not tied to the architecture
> limit like the ring buffer sub-buffer is. Having it be 64K * 2 is
> simply just too big and wasting memory on systems with 64K page sizes.
> It is now hardcoded to 8K which is what all other architectures with
> 4K PAGE_SIZE has.
Does Linux use a 2k PAGE_SIZE on any architectures?
IIRC m68k hardware has a 2k page, but Linux might always pair them.
A 2k page might (or might not) cause grief.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)