Re: [PATCH] Fix to make check_pgt_cache work on !i386 architectures

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
03 Aug 1998 11:16:43 +0200


Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz> writes:

|> >
|> > The other question that props up is that _why_ doesn't check_pgd_table()
|> > work as expected? Sounds like a bug in the whole design to me.
|>
|> The case when there are multiple page tables within one page is far more
|> complicated. It cannot be per-cpu any longer (as otherwise freeing of the
|> pages would be really difficult without locking), one has to keep track on
|> which chunks of the page are free and which are allocated. So, even the
|> check_pgt_cache routine for that has to take those things into account and
|> free only pages which are completely free (but still it is a lot better
|> than before with the big/small chunk allocator).

I don't understand the problem with partial page pgd/pmd. The page table
cache that i have implemented for m68k works ok.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html