Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'parisc-4.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux

Pull parisc fix from Helge Deller:
"A memory leak fix from Christophe Jaillet which was introduced with
kernel 4.0 and which leads to kernel crashes on parisc after 1-3 days"

* 'parisc-4.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
parisc: mm: Fix a memory leak related to pmd not attached to the pgd

+2 -1
+2 -1
arch/parisc/include/asm/pgalloc.h
··· 72 72 73 73 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) 74 74 { 75 - if(pmd_flag(*pmd) & PxD_FLAG_ATTACHED) 75 + if (pmd_flag(*pmd) & PxD_FLAG_ATTACHED) { 76 76 /* 77 77 * This is the permanent pmd attached to the pgd; 78 78 * cannot free it. ··· 81 81 */ 82 82 mm_inc_nr_pmds(mm); 83 83 return; 84 + } 84 85 free_pages((unsigned long)pmd, PMD_ORDER); 85 86 } 86 87