Re: Segmentation fault for kernel 2.6.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux