Messages in this thread |  | | | From | Daniel Phillips <> | | Subject | Re: [RFC] Page table sharing | | Date | Fri, 22 Feb 2002 07:32:31 +0100 |
| |
The following gross mistake was noticed promptly by Rik van Riel:
spin_lock(&page_table_share_lock); - if (page_count(virt_to_page(pte)) == 1) { + if (put_page_testzero(virt_to_page(pte))) { pmd_clear(dir); pte_free_slow(pte); } spin_unlock(&page_table_share_lock); However, oddly enough, that's not the memory leak.
-- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |