Boot hangs on IBM T60

2007-08-20 Thread sk malik
Hi, all It happens very rarely that the system hangs while booting. The last message on console is : Activating device mapper.. I dont' get any oops and the system works without any problem if it boots. :) uname -a gives 2.6.18.8-0.5-default #1 SMP Fri Jun 22 12:17:53 UTC 2007 i686 i686 i386

why use memcpy when memmove is there?

2007-08-13 Thread sk malik
Hi, All We were looking at "[kernel]/lib/string.c" (http://lxr.linux.no/source/lib/string.c#L500) memcpy copies a part of memory to some other location but It will not work for all cases of overlapping blocks.(if the start of destination block falls between the source block) while memove copes