]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Merge branch 'sparc64-context-wrap-fixes'
authorDavid S. Miller <davem@davemloft.net>
Tue, 6 Jun 2017 20:45:48 +0000 (13:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jun 2017 20:45:48 +0000 (13:45 -0700)
commitb3aefc2fbdff2576d0c5aca09b963c40f0299664
tree575ba01f32418345f60b1b96718144e4b7c54fc3
parentf322980b74a15e08f8c70a34a5864ecdbf957251
parent0197e41ce70511dc3b71f7fefa1a676e2b5cd60b
Merge branch 'sparc64-context-wrap-fixes'

Pavel Tatashin says:

====================
sparc64: context wrap fixes

This patch series contains fixes for context wrap: when we are out of
context ids, and need to get a new version.

It fixes memory corruption issues which happen when more than number of
context ids (currently set to 8K) number of processes are started
simultaneously, and processes can get a wrong context.

sparc64: new context wrap:
- contains explanation of new wrap method, and also explanation of races
  that it solves
sparc64: reset mm cpumask after wrap
- explains issue of not reseting cpu mask on a wrap
====================

Signed-off-by: David S. Miller <davem@davemloft.net>