Re: [PATCH 1/2] x86/mm/kaiser: Remove unused user-mapped page-aligned section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 27, 2017 at 10:10:12PM -0600, Josh Poimboeuf wrote:
> The '.data..percpu..user_mapped..page_aligned' section isn't used
> anywhere.  Remove it and its related macros.

With my patches:

  arch/x86/events/intel/ds.c:DEFINE_PER_CPU_SHARED_ALIGNED_USER_MAPPED(struct debug_store, cpu_debug_store);

is the only user left of any of that.

I suppose we could just allocate a whole page for that and use
kaiser_add_mapping() for it. Then we can remove all of
DEFINE_.*_USER_MAPPED().

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux