aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <[email protected]>2013-06-20 14:30:23 +0530
committerBenjamin Herrenschmidt <[email protected]>2013-06-21 16:01:56 +1000
commit7888b4ddb44dccd68bc20d0dc4425707dff88c72 (patch)
tree7d9b5d74f6f51255fe06649511bf39d1a0516356 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent0ac52dd7666d5c0d0147d73a8e4b1d1ffd81cdf3 (diff)
powerpc: Prevent gcc to re-read the pagetables
GCC is very likely to read the pagetables just once and cache them in the local stack or in a register, but it is can also decide to re-read the pagetables. The problem is that the pagetable in those places can change from under gcc. With THP/hugetlbfs the pmd (and pgd for hugetlbfs giga pages) can change under gup_fast. The pages won't be freed untill we finish gup fast because we have irq disabled and we free these pages via rcu callback. Signed-off-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions