[PATCH] per-cpu data preempt-safing

From: Robert Love (rml@tech9.net)
Date: Tue Sep 24 2002 - 15:50:58 EST


Linus,

Attached patch fixes unsafe access to per-CPU data via reordering of
instructions or use of "get_cpu()".

The following files were affected:

 include/linux/brlock.h | 5 ++++-
 include/linux/netdevice.h | 12 ++++++++----
 include/linux/page-flags.h | 6 +++---
 mm/highmem.c | 2 ++
 4 files changed, 17 insertions(+), 8 deletions(-)

Before anyone balks at the brlock.h fix, note this was in the
alternative version of the code which is not used by default.

Patch is against current BK. Please, apply.

        Robert Love



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:20 EST