kmap_high calls BUG()

2013-11-21 Thread Ritesh Ranjan
In the highmem.c file, the function kmap_high() does the following : ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

kmap_high calls BUG()

2013-11-21 Thread Ritesh Ranjan
*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])