[lkml]   [2002]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux-2.5.16

On Mon, 20 May 2002, Roman Zippel wrote:
> There is another problem even on rather "normal" systems, a pgd/pmd
> directory doesn't have to be of PAGE_SIZE size, e.g. on m68k it's 512
> bytes.

Note that the generic VM code doesn't actually call any of these functions
directly - an architecture can choose to redefine the whole thing for its
own uses if it wants to.

In particular, even if the architecture wants to share everything else in
the generic tlb.h, you can solve the particular problem you mention by
just not defining "pmd_free_tlb()" to be "tlb_remove_page()". In short:
there should be absolutely nothing in the setup that _requires_ you to
consider page directories to be normal pages. It just happens to work out
that way on x86 (and a number of other architectures).


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:26    [W:0.040 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site