projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b825ed
)
quicklists: do not release off node pages early
author
Christoph Lameter
<
[email protected]
>
Sat, 22 Dec 2007 22:03:23 +0000
(14:03 -0800)
committer
Linus Torvalds
<
[email protected]
>
Sun, 23 Dec 2007 20:54:36 +0000
(12:54 -0800)
quicklists must keep even off node pages on the quicklists until the TLB
flush has been completed.
Signed-off-by: Christoph Lameter <
[email protected]
>
Cc: Dhaval Giani <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/quicklist.h
patch
|
blob
|
history
diff --git
a/include/linux/quicklist.h
b/include/linux/quicklist.h
index 9371c6116df3488d995ecc2bfd3ede17f2b232e6..39b66713a0bba015c9a1d94df6c54d9e781d3991 100644
(file)
--- a/
include/linux/quicklist.h
+++ b/
include/linux/quicklist.h
@@
-56,14
+56,6
@@
static inline void __quicklist_free(int nr, void (*dtor)(void *), void *p,
struct page *page)
{
struct quicklist *q;
- int nid = page_to_nid(page);
-
- if (unlikely(nid != numa_node_id())) {
- if (dtor)
- dtor(p);
- __free_page(page);
- return;
- }
q = &get_cpu_var(quicklist)[nr];
*(void **)p = q->page;