[lkml]   [2006]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.6.18-rc1-mm2
On Thu, 2006-07-13 at 22:48 -0700, Andrew Morton wrote:
> - Added the avr32 architecture. Review is sought, please.

> +#define PFN_UP(x) (((x) + PAGE_SIZE - 1) >> PAGE_SHIFT)
> +#define PFN_DOWN(x) ((x) >> PAGE_SHIFT)
> +#define PFN_PHYS(x) ((x) << PAGE_SHIFT)

Please use include/linux/pfn.h instead of defining these

> Since there's only a single board available, and that board has no use for
> discontigmem or sparsemem anyway, I figured it's better to just turn it off
> until a need for it arises.

How about we help you get sparsemem working properly, and you can kill
all of the discontigmem support from your arch? You can be the first
non-legacy-impeded architecture. ;)

Feel free to mail Andy or myself with your compile errors, and I'm sure
we can iron it out. I'd try myself, but I don't have a cross-compiler
for your arch yet. Do you have one handy?

It would also be nice to see a _couple_ of patches that perhaps abstract
a thing or two into generic code. I know that new architectures usually
begin with a 'cp -r', but it would be nice to see a wee bit of code
refactoring as a small price of admission. Some of the ioremap and
other pagetable code looked pretty generic to me.

-- Dave

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: 2006-07-14 17:51    [W:0.404 / U:8.300 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site