[PATCH] mmu_notifier: add call_srcu and sync function for listener to delay call and sync

2014-08-02 Thread Oded Gabbay
From: Peter Zijlstra When kernel device drivers or subsystems want to bind their lifespan to the lifespan of the mm_struct, they usually use one of the following methods: 1. Manually calling a function in the interested kernel module. The function call needs to be placed in mmput. This method

[PATCH] mmu_notifier: add call_srcu and sync function for listener to delay call and sync

2014-08-02 Thread Oded Gabbay
From: Peter Zijlstra pet...@infradead.org When kernel device drivers or subsystems want to bind their lifespan to the lifespan of the mm_struct, they usually use one of the following methods: 1. Manually calling a function in the interested kernel module. The function call needs to be placed in