[PATCH] arm64: struct debug_info: Check CONFIG_HAVE_HW_BREAKPOINT

Catalin Marinas catalin.marinas at arm.com
Tue Mar 21 08:56:55 PDT 2017


On Thu, Mar 16, 2017 at 06:10:43PM -0400, Chris Redmon wrote:
> Check if CONFIG_HAVE_HW_BREAKPOINT is enabled before compiling in extra
> data required for hardware breakpoints. Compiling out this code when hw
> breakpoints are disabled saves about 272 bytes per struct task_struct.
> 
> Signed-off-by: Chris Redmon <credmonster at gmail.com>

Queued for 4.12. Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list