kmap_high calls BUG()

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

 



*Sorry for the previous incomplete mail*

In highmem.c, the function kmap_high() does the following : 
BUG_ON(pkmap_count[PKMAP_NR(vaddr)] < 2);

Why would this be a " serious bug"?
Don't usable entry have pkmap_count[] value as 0. (in map_new_virtual() )
    if (!pkmap_count[last_pkmap_nr]) 
            break;

How does that work! usable entries have pkmap_count zero but any value less than 2 is a bug!
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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