aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <[email protected]>2017-02-09 02:58:19 +0000
committerMichael Ellerman <[email protected]>2017-02-15 09:02:40 +0000
commitca94573b9c69d224e50e1084a2776772f4ea030d (patch)
tree6cbe50dc5a4222c9f289819acb92f13eff5bf01b /scripts/gcc-plugins/cyc_complexity_plugin.c
parentpowerpc/mm: Update PROTFAULT handling in the page fault path (diff)
downloadkernel-ca94573b9c69d224e50e1084a2776772f4ea030d.tar.gz
kernel-ca94573b9c69d224e50e1084a2776772f4ea030d.zip
powerpc/mm/radix: Update pte update sequence for pte clear case
In the kernel we do follow the below sequence in different code paths. pte = ptep_get_clear(ptep) .... set_pte_at(ptep, pte) We do that for mremap, autonuma protection update and softdirty clearing. This implies our optimization to skip a tlb flush when clearing a pte update is not valid, because for DD1 system that followup set_pte_at will be done witout doing the required tlbflush. Fix that by always doing the dd1 style pte update irrespective of new_pte value. In a later patch we will optimize the application exit case. Signed-off-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Aneesh Kumar K.V <[email protected]> Tested-by: Michael Neuling <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions