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: Paul Burton <hidden>
Date: 2019-05-02 19:03:21
Also in: linux-arch, linux-arm-kernel, linux-mips, linux-riscv, linux-um, linuxppc-dev, lkml

Hi Mike,

On Thu, May 02, 2019 at 06:28:28PM +0300, Mike Rapoport wrote:
+/**
+ * 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/).

Thanks,
    Paul
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help