diff for duplicates of <4c6ec1df290705bb68@agluck-desktop.sc.intel.com> diff --git a/a/1.txt b/N1/1.txt index 92278f7..19e0c77 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -34,7 +34,7 @@ index b6e5fd2..9dcef72 100644 static inline int check_stack_guard_page(struct vm_area_struct *vma, unsigned long address) { - address &= PAGE_MASK; -- if ((vma->vm_flags & VM_GROWSDOWN) && address = vma->vm_start) { +- if ((vma->vm_flags & VM_GROWSDOWN) && address == vma->vm_start) { - address -= PAGE_SIZE; - if (find_vma(vma->vm_mm, address) != vma) - return -ENOMEM; @@ -42,7 +42,7 @@ index b6e5fd2..9dcef72 100644 + + if (vma->vm_flags & VM_GROWSDOWN) { + address &= PAGE_MASK; -+ if (address = vma->vm_start) { ++ if (address == vma->vm_start) { + address -= PAGE_SIZE; + if (find_vma(vma->vm_mm, address) != vma) + return -ENOMEM; @@ -52,7 +52,7 @@ index b6e5fd2..9dcef72 100644 + } + } else if (vma->vm_flags & VM_GROWSUP) { + address = PAGE_ALIGN(address + 1); -+ if (address = vma->vm_end) { ++ if (address == vma->vm_end) { + address += PAGE_SIZE; + if ((v = find_vma(vma->vm_mm, address)) && + v->vm_start <= address) { diff --git a/a/content_digest b/N1/content_digest index 8bc1c71..de854e6 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Luck, Tony <tony.luck@intel.com>\0" "Subject\0[RFC - PATCH] leave guard page for upwardly growing stacks too\0" - "Date\0Fri, 20 Aug 2010 17:56:47 +0000\0" + "Date\0Fri, 20 Aug 2010 10:56:47 -0700\0" "To\0linux-kernel@vger.kernel.org\0" "Cc\0linux-ia64@vger.kernel.org" linux-parisc@vger.kernel.org @@ -46,7 +46,7 @@ " static inline int check_stack_guard_page(struct vm_area_struct *vma, unsigned long address)\n" " {\n" "-\taddress &= PAGE_MASK;\n" - "-\tif ((vma->vm_flags & VM_GROWSDOWN) && address = vma->vm_start) {\n" + "-\tif ((vma->vm_flags & VM_GROWSDOWN) && address == vma->vm_start) {\n" "-\t\taddress -= PAGE_SIZE;\n" "-\t\tif (find_vma(vma->vm_mm, address) != vma)\n" "-\t\t\treturn -ENOMEM;\n" @@ -54,7 +54,7 @@ "+\n" "+\tif (vma->vm_flags & VM_GROWSDOWN) {\n" "+\t\taddress &= PAGE_MASK;\n" - "+\t\tif (address = vma->vm_start) {\n" + "+\t\tif (address == vma->vm_start) {\n" "+\t\t\taddress -= PAGE_SIZE;\n" "+\t\t\tif (find_vma(vma->vm_mm, address) != vma)\n" "+\t\t\t\treturn -ENOMEM;\n" @@ -64,7 +64,7 @@ "+\t\t}\n" "+\t} else if (vma->vm_flags & VM_GROWSUP) {\n" "+\t\taddress = PAGE_ALIGN(address + 1);\n" - "+\t\tif (address = vma->vm_end) {\n" + "+\t\tif (address == vma->vm_end) {\n" "+\t\t\taddress += PAGE_SIZE;\n" "+\t\t\tif ((v = find_vma(vma->vm_mm, address)) &&\n" "+\t\t\t\tv->vm_start <= address) {\n" @@ -76,4 +76,4 @@ " \treturn 0;\n" } -f654384554a98c8ed4616ea4ec956c7cbc1c99fa13fd599f33493b3aa8074052 +5d82a6a6d10677d30daec1589a12805c707f8297d37997af086ee5914b642657
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.