Re: [PATCH 09/13] Move bp_type_idx to kernel/event/hw_breakpoint.c
From: Palmer Dabbelt <hidden>
Date: 2015-11-07 06:44:07
Also in:
kexec, linux-arch, linux-fsdevel, lkml
On Wed, 04 Nov 2015 04:21:51 PST (-0800), peterz-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org wrote:
On Wed, Nov 04, 2015 at 12:41:06PM +0100, Peter Zijlstra wrote:quoted
On Tue, Nov 03, 2015 at 11:46:30AM -0800, Palmer Dabbelt wrote:quoted
This has a "#ifdef CONFIG_*" that used to be exposed to userspace. The names in here are so generic that I don't think it's a good idea to expose them to userspace (or even the rest of the kernel). Since there's only one kernel user, it's been moved to that file. Signed-off-by: Palmer Dabbelt <redacted> Reviewed-by: Andrew Waterman <waterman-aFE07iDfcCIb0cFwG/AQJIdd74u8MsAO@public.gmane.org> Reviewed-by: Albert Ou <aou-aFE07iDfcCIb0cFwG/AQJIdd74u8MsAO@public.gmane.org>Assuming you want to keep all these patches together in a tree or so. Let me know if you want me to take this patch.
Well, the plan was to try to get the whole patch set all upstream together. I'd prefer that, because it'll be easier to make sure everything gets in before the last checker patch. Since it touches so many different places I'd be OK with doing it peicemeal. I'm kind of new to this whole process: do you think someone is likely to take this patch set all together?
quoted
Acked-by: Peter Zijlstra (Intel) <redacted>Ah, build-bot finds your change is broken and you didn't grep right. It is used in more places.
Sorry about that, I must have mis-grep'd. I guess that's what the build-bot is for :).
How about moving it to include/linux/hw_breakpoint.h, instead of having it in the uapi crud?
Yep, that makes sense. I'm going to re-submit a v5 of this patch set, since there was also a missing patch for blackfin that the buildbot found.