Skip to contentSkip to conversation

Linux 2.4.19pre3-ac2

DISCUSSION willy tarreau 2 participants 3 messages Mar 19, 2002

lore
Share & tools
lore
#0 lore raw

Hi Alan,

I cannot compile shm.c unless I apply this
patch. I hope it's correct, I put 0 in the acct
field just because there was 0 at the
do_mmap() line.

I'm really sorry this patch will be mangled
by my mail client here, but it's a one liner,
self-explanatory.

Regards,
Willy

--- linux/ipc/shm.c-orig Tue Mar 19 19:45:52
2002
+++ linux/ipc/shm.c Tue Mar 19 19:46:17 2002
@@ -679,7 +679,7 @@

                shmdnext = shmd->vm_next;
                if (shmd->vm_ops == &shm_vm_ops
                    && shmd->vm_start -

(shmd->vm_pgoff << PAGE_SHIFT) == (ulong) shmaddr) {
- do_munmap(mm, shmd->vm_start,
shmd->vm_end - shmd->vm_start);
+ do_munmap(mm, shmd->vm_start,

shmd->vm_end - shmd->vm_start, 0);
                        retval = 0;
                }
        }

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com

#1 lore raw
Quoted 11 lines · willy tarreau

Hi Alan,

I cannot compile shm.c unless I apply this patch. I hope it's correct, I put 0 in the acct field just because there was 0 at the do_mmap() line.

I'm really sorry this patch will be mangled by my mail client here, but it's a one liner, self-explanatory.

Hmm, Alan said in another post in this thread that it should be a "1". I wonder what'll happen with a "0" there instead...

Oh, your mailer fscked the patch.

#2 lore raw
Quoted 8 lines
Quoted 4 lines

I'm really sorry this patch will be mangled
by my mail client here, but it's a one liner,
self-explanatory.

Hmm, Alan said in another post in this thread that it should be a "1". I wonder what'll happen with a "0" there instead...

yes, I've seen this. He posted it while I was reporting mine. I did it randomly to quickly get a compiled kernel to check for another unrelated bug so it was just a warning report anyway.

Quoted 1 line

Oh, your mailer fscked the patch.

I knew it before the post. I use opera on yahoo from where I work. Yahoo truncates lines very shortly, opera cannot send attachments with this web interface, and I cannot reliably use other browsers because of crappy anti-viruses (websweeper...). It really is a hell on earth, but so ridiculous that I prefer to laught at it now. I wish I had a true SMTP access to send standard posts, believe me !

Regards,
Willy

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com