lkml.org 
[lkml]   [1996]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: modules 2.1.8 fix
On Mon, 11 Nov 1996, Heiko Eissfeldt wrote:

> this little fix greatly enhanced lodule loading under 2.0.25, 2.1.7 and
> 2.1.8 :-)
>
> - memset(secref[bss_seg], 0, bss_size);
> + memset(secref[bss_seg], bss_size, 0);

ROTFL... Fill 0 bytes in memory with the value of bbs_size.
I'm convinced this can be optimized... There just has to be a faster nop
function... ;)

LLaP
bero




\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.126 / U:2.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site