Thread (29 messages) 29 messages, 8 authors, 2019-05-07

Re: [PATCH 01/15] asm-generic, x86: introduce generic pte_{alloc,free}_one[_kernel]

From: Mike Rapoport <hidden>
Date: 2019-05-05 06:15:45
Also in: linux-alpha, linux-arch, linux-mips, linux-riscv, linux-um, linuxppc-dev, lkml

On Thu, May 02, 2019 at 07:03:11PM +0000, Paul Burton wrote:
Hi Mike,

On Thu, May 02, 2019 at 06:28:28PM +0300, Mike Rapoport wrote:
quoted
+/**
+ * pte_free_kernel - free PTE-level user page table page
+ * @mm: the mm_struct of the current context
+ * @pte_page: the `struct page` representing the page table
+ */
+static inline void pte_free(struct mm_struct *mm, struct page *pte_page)
+{
+	pgtable_page_dtor(pte_page);
+	__free_page(pte_page);
+}
Nit: the comment names the wrong function (s/pte_free_kernel/pte_free/).
Argh, evil copy-paste :)
Thanks!
 
Thanks,
    Paul
-- 
Sincerely yours,
Mike.


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help