[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] More details on my problem
I'm currently using page_alloc.c since I've not enabled the correspondant
choice in the kernel configuration in order to use page_alloc2.c.
Do u think that enabling this will solve the problem?
On Friday 16 January 2004 00:18, David McCullough wrote:
Jivin Roberto Farina lays it down ...
> This is a modification I made on the file linux-2.4.x/mmnommu/page_alloc.c
>
> printk("On node %d totalpages: %lu\n", nid, realtotalpages);
>
> /*
> * Some architectures (with lots of mem and discontinous memory
> * maps) have to search for a good mem_map area:
> * For discontigmem, the conceptual mem map array starts from
> * PAGE_OFFSET, we need to align the actual array onto a mem map
> * boundary, so that MAP_NR works.
> */
> map_size = (totalpages + 1)*sizeof(struct page);
>
> printk("DBG: 1\n");
>
> if (lmem_map == (struct page *)0) {
>
> The message "DBG: 1" is never printed on the console.
> Anyone can help understanding what's the cause of this?
Any chance you are using page_alloc2.c instead ?
I take you are getting the "On node %d totalpa ..." message ;-)
Cheers,
Davidm
--
--------------------------------------------------------
Roberto Farina
CEFRIEL - Embedded Systems Design Unit
Via Fucini, 2 - 20133 MILANO (ITALY)
Phone: +39 02 23954 236
Fax: +39 02 23954 254
E-mail: roberto.farina@cefriel.it
--------------------------------------------------------
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/