1 |
Author: mpagano |
2 |
Date: 2009-04-24 01:05:59 +0000 (Fri, 24 Apr 2009) |
3 |
New Revision: 1547 |
4 |
|
5 |
Added: |
6 |
genpatches-2.6/trunk/2.6.29/1700_flush-pending-TLB-entries.patch |
7 |
Modified: |
8 |
genpatches-2.6/trunk/2.6.29/0000_README |
9 |
Log: |
10 |
sparc64: Flush TLB before releasing pages |
11 |
|
12 |
Modified: genpatches-2.6/trunk/2.6.29/0000_README |
13 |
=================================================================== |
14 |
--- genpatches-2.6/trunk/2.6.29/0000_README 2009-04-16 19:01:43 UTC (rev 1546) |
15 |
+++ genpatches-2.6/trunk/2.6.29/0000_README 2009-04-24 01:05:59 UTC (rev 1547) |
16 |
@@ -43,6 +43,10 @@ |
17 |
From: http://www.kernel.org |
18 |
Desc: Linux 2.6.29.1 |
19 |
|
20 |
+Patch: 1700_flush-pending-TLB-entries.patch |
21 |
+From: http://bugs.gentoo.org/show_bug.cgi?id=265714 |
22 |
+Desc: sparc64: Flush TLB before releasing pages |
23 |
+ |
24 |
Patch: 1915_ext4-automatically-allocate-delay-allocated-blocks-on-rename.patch |
25 |
From: Theodore Ts'o <tytso@×××.edu> |
26 |
Desc: ext4: Automatically allocate delay allocated blocks on rename |
27 |
|
28 |
Added: genpatches-2.6/trunk/2.6.29/1700_flush-pending-TLB-entries.patch |
29 |
=================================================================== |
30 |
--- genpatches-2.6/trunk/2.6.29/1700_flush-pending-TLB-entries.patch (rev 0) |
31 |
+++ genpatches-2.6/trunk/2.6.29/1700_flush-pending-TLB-entries.patch 2009-04-24 01:05:59 UTC (rev 1547) |
32 |
@@ -0,0 +1,14 @@ |
33 |
+--- a/arch/sparc/include/asm/tlb_64.h 2009-04-23 20:58:02.000000000 -0400 |
34 |
++++ b/arch/sparc/include/asm/tlb_64.h 2009-04-23 20:58:27.000000000 -0400 |
35 |
+@@ -57,9 +57,9 @@ static inline struct mmu_gather *tlb_gat |
36 |
+ |
37 |
+ static inline void tlb_flush_mmu(struct mmu_gather *mp) |
38 |
+ { |
39 |
++ if (!mp->fullmm) |
40 |
++ flush_tlb_pending(); |
41 |
+ if (mp->need_flush) { |
42 |
+- if (!mp->fullmm) |
43 |
+- flush_tlb_pending(); |
44 |
+ free_pages_and_swap_cache(mp->pages, mp->pages_nr); |
45 |
+ mp->pages_nr = 0; |
46 |
+ mp->need_flush = 0; |