[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segmentation fault for kernel 2.6.9
Mauricio Lin <mauriciolin2000@xxxxxxxxxxxx> writes:
> Mauricio Lin <mauriciolin2000@xxxxxxxxxxxx> wrote:
>
> Here goes the function that is throwing the segmentation fault:
>
>
>
> void resident_mem_size(struct mm_struct *mm, unsigned long
> start_address,
>
> unsigned long end_address, unsigned long *size) {
...
> my_pgd = pgd_offset(mm, page);
Are you sure you are not calling resident_mem_size with a NULL mm
parameter?
--
Ed L Cashin <ecashin@xxxxxxxxxx>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/