[9fans] 6c copy propgation
i thought this discussion was on 9fans, but i don't see it any more. this is a recent bug report in 9front http://code.google.com/p/plan9front/source/detail?r=f80b7ef22cd2352d3823513024d21d3ea14f4854 6a, 6c, 6l: fix copy propagation Without an explicit signal for a truncation, copy propagation will sometimes propagate a 32-bit truncation and end up overwriting uses of the original 64-bit value. This was independently discovered and fixed in Go. See: http://golang.org/issue/1315 https://codereview.appspot.com/6002043/ Thanks Charles Forsyth for tips and advice. i was in a panic for a bit that this was still hanging around, but after a bit of investigation, i see this was fixed by charles and pushed out to 9atom quite a while ago. i have a dim recollection of finding the bug. the symptoms were spectacular. i believe they bit the log2 calculations, and blew up malloc. there are more changes from charles in 9atom, including a pretty good complement of avx instructions. it might be worth a look. - erik
Re: [9fans] kernel bug
erik quanstrom quans...@quanstro.net once said: i don't know where a history of stuff older than sources (2002) is. /n/sources/extra/9hist Anthony
[9fans] Script Available: Acme Chords for AutoHotkey
For those times when I have to use Windows, I've put together a short script for AutoHotkey (http://www.autohotkey.com/) that implements Acme's cut, copy and paste mouse chords, available at: https://github.com/bvito/ahk. I thought I would share the script (which is below) just in case it helps anyone else out there -- without the BSD license or the copyright Brian D. Vito (me) notice, is quite short: ~LButton MButton::Goto, Cut ;; Button 1 held down, button 2 clicked ~LButton RButton::Goto, Paste ;; Button 1 held down, button 3 clicked return Cut: Send, {LButton up} ;; Confirm no additional text selection is made SendInput, ^x ;; Control-X (Cut) return Paste: Send, {LButton up} ;; Confirm no additional text selection is made SendInput, ^v ;; Control-V (Paste) return Please feel free to use this in any manner you would use any BSD-licensed code. I'd also appreciate any suggestions, bug reports or comments -- I'd ideally like to try to implement as much of Acme as is possible in this way (i.e., an AHK script). ~bVd
[9fans] minor kernel bug
Hi, Here is a patch for tasklock.c: int lock(Lock *l) { int i; ulong pc; pc = getcallerpc(l); lockstats.locks++; if(up) inccnt(up-nlocks);/* prevent being scheded */ if(tas(l-key) == 0){ if(up) up-lastlock = l; l-pc = pc; l-p = up; l-isilock = 0; + l-m = MACHP(m-machno); ... return 0; } we do that in ilock() and canlock() so it's a bug I think to not do it also in lock(). The field is only used in iprintcanlock which use canlock(), not lock(), so this if fine, but for consistency it would be better to also do it in lock() no?
[9fans] other kernel bug
Hi, I think I've found another one :) in confinit() we do: kmem -= conf.upages*sizeof(Page) + conf.nproc*sizeof(Proc) + conf.nimage*sizeof(KImage) + conf.nswap + conf.nswppo*sizeof(Page); // - BUG but in swapinit we actually do iolist = xalloc(conf.nswppo*sizeof(Page*)); so in confinit() it should be conf.nswppo*sizeof(Page*)
[9fans] What is Plan9 exactly?
I've been looking at plan9 on the internet and to say the truth, I'm mystified. What is it exactly? Is it meant to totally be better than Unix or any Unix-like system? How so? What kind of kernel does it use?
Re: [9fans] What is Plan9 exactly?
http://code.google.com/p/plan9front/wiki/fqa0 sl
Re: [9fans] What is Plan9 exactly?
Yeah, I'm mystified myself. Is this a troll or a serious enquiry? Trousers rolled. On 5 June 2014 15:10, OMAR RADWAN owemeac...@live.com wrote: I've been looking at plan9 on the internet and to say the truth, I'm mystified. What is it exactly? Is it meant to totally be better than Unix or any Unix-like system? How so? What kind of kernel does it use?
Re: [9fans] What is Plan9 exactly?
Trousers rolled. down or up?
Re: [9fans] What is Plan9 exactly?
I'm serious. I'm a Unix fan, I use BSD, Minix, Linux, and any unix-like OS I can get my hands on. Sadly, except, System V or HP-UX, or any UNIX. I read about Plan9 online, and it sounds like a great project. Though I do think that if this operating system if made to be better than Unix in every single way, it has to have a better kernel, which is something I am very interested about. What kind of kernel does it use? Why would anyone use it? Date: Wed, 4 Jun 2014 21:28:50 -0600 From: mirtchov...@gmail.com To: 9fans@9fans.net Subject: Re: [9fans] What is Plan9 exactly? Trousers rolled. down or up?
Re: [9fans] What is Plan9 exactly?
On Jun 4, 2014 8:39 PM, OMAR RADWAN owemeac...@live.com wrote: I'm serious. I'm a Unix fan, I use BSD, Minix, Linux, and any unix-like OS I can get my hands on. Sadly, except, System V or HP-UX, or any UNIX. I read about Plan9 online, and it sounds like a great project. Though I do think that if this operating system if made to be better than Unix in every single way, it has to have a better kernel, which is something I am very interested about. What kind of kernel does it use? Why would anyone use it? All of this is on the wiki. I'd take some time to sit down and explore for yourself.
Re: [9fans] What is Plan9 exactly?
I just did, though I cannot find anything about the kernel architecture Date: Wed, 4 Jun 2014 20:47:46 -0700 From: alexander3223...@gmail.com To: 9fans@9fans.net Subject: Re: [9fans] What is Plan9 exactly? On Jun 4, 2014 8:39 PM, OMAR RADWAN owemeac...@live.com wrote: I'm serious. I'm a Unix fan, I use BSD, Minix, Linux, and any unix-like OS I can get my hands on. Sadly, except, System V or HP-UX, or any UNIX. I read about Plan9 online, and it sounds like a great project. Though I do think that if this operating system if made to be better than Unix in every single way, it has to have a better kernel, which is something I am very interested about. What kind of kernel does it use? Why would anyone use it? All of this is on the wiki. I'd take some time to sit down and explore for yourself.