]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'uaccess' (batched user access infrastructure)
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 21:02:41 +0000 (13:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 21:02:41 +0000 (13:02 -0800)
commit521336c667c136df547ae1a5256022bc771a24d5
tree2056ef0fa74f6042606a10b8e7e4c191789b6584
parente307b27ac2abe6cf6b7e78edc3617c55cf3f9df5
parentd459949d72720ddea766872b67504519cd87440d
Merge branch 'uaccess' (batched user access infrastructure)

Expose an interface to allow users to mark several accesses together as
being user space accesses, allowing batching of the surrounding user
space access markers (SMAP on x86, PAN on arm64, domain register
switching on arm).

This is currently only used for the user string lenth and copying
functions, where the SMAP overhead on x86 drowned the actual user
accesses (only noticeable on newer microarchitectures that support SMAP
in the first place, of course).

* user access batching branch:
  Use the new batched user accesses in generic user string handling
  Add 'unsafe' user access functions for batched accesses
  x86: reorganize SMAP handling in user space accesses
arch/x86/include/asm/uaccess.h