Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-23 | kernel: make use of nil and 0 consistent in proc.c | cinap_lenrek | |
always explicitely compare with nil if pointer. sorry for the noise. :( | |||
2014-06-23 | merge | cinap_lenrek | |
2014-06-23 | kernel: fix cooperative scheduling for wired processes | cinap_lenrek | |
2014-06-22 | newt(1): minor man page clarifications | stanley lieber | |
2014-06-22 | ether8169: use u16int instead of u8int for C+ command register (thanks pavel ↵ | cinap_lenrek | |
/ erik) | |||
2014-06-22 | pc64: fix comment for preallocpages() | cinap_lenrek | |
2014-06-22 | remove imagepagerefs() acid function | cinap_lenrek | |
2014-06-22 | kernel: new pagecache, remove Lock from page, use cmpswap for Ref instead of ↵ | cinap_lenrek | |
Lock make the Page stucture less than half its original size by getting rid of the Lock and the lru. The Lock was required to coordinate the unchaining of pages that where both cached and on the lru freelist. now pages have a single next pointer that is used for palloc.head freelist xor for page cache hash chains in Image.pghash[]. cached pages are not on the freelist anymore, but will be reclaimed from images by the pager when the freelist runs out of pages. each Image has its own 512 hash chains for cached page lookup. That is 2MB worth of pages and there should be no collisions for most text images. page reclaiming can be done without holding palloc.lock as the Image is the owner of the page hash chains protected by the Image's lock. reclaiming Image structures can be done quickly by only reclaiming pages from inactive images, that is images which are not currently in use by segments. the Ref structure has no Lock anymore. Only a single long that is atomically incremented or decremnted using cmpswap(). there are various other changes as a consequence code. and lots of pikeshedding, sorry. | |||
2014-06-22 | ed: dont pass string constants to mktemp() | cinap_lenrek | |
2014-06-15 | games/md: small bug fixes | aiju | |
2014-06-15 | games/md: add shadow/hilight support | aiju | |
2014-06-15 | games/md: add save game support, fix cpu bug | aiju | |
2014-06-14 | games/md: small fixes | aiju | |
2014-06-13 | games/snes: fix -T | aiju | |
2014-06-13 | games/md: vdp window fix, added ym2612 timers | aiju | |
2014-06-13 | games/md: add z80, audio support | aiju | |
2014-06-13 | merge | cinap_lenrek | |
2014-06-13 | pc64: fix MS2HZ (thanks Anthony Martin) | cinap_lenrek | |
2014-06-12 | termrc, cpurc: clarify comments by removing lies | stanley lieber | |
2014-06-12 | libstdio: avoid issues with aliasing in dtoa() on amd64 (from 9atom, thanks ↵ | cinap_lenrek | |
to erik and charles) | |||
2014-06-12 | libsec: use u32int instead of uint when we need 32 bit (thanks erik) | cinap_lenrek | |
2014-06-11 | samterm: use 4K stacks for amd64 (thanks burnzez) | cinap_lenrek | |
we got a stack overflow on the hostproc on amd64 overflowing by arround 200 byte. so just use 4K stacks for everything. | |||
2014-06-11 | revert ramfs example | cinap_lenrek | |
the code was correct. erealloc9p() terminates the process on error, but the code was handling realloc() error explicitely and responded the request with Enomem error. | |||
2014-06-11 | libsec: fix dsagen 64-bit bug (thanks rsc) | ftrvxmtrx | |
2014-06-11 | lib9p: ramfs example: s/realloc/erealloc9p/ | ftrvxmtrx | |
2014-06-09 | pool: declare pooldump in pool.h. the manual says it is public. | mischief | |
2014-06-09 | audiohda: add Intel 8 Series/C220 Series support | ftrvxmtrx | |
2014-06-09 | ether8169: support for RTL8168G | ftrvxmtrx | |
2014-06-09 | mkpaqfs: english | mischief | |
2014-06-09 | pc: clip rectangles before sending them to the hardware in flushmemscreen | mischief | |
the vmware svga video card emulated by qemu (qemu -vga vmware) complains and eventually causes a panic if the rectangles aren't clipped. messages like the following can be observed from qemu before the kernel panics: vmsvga_update_rect: update h was < 0 (-20000) vmsvga_update_rect: update height too large y: 10000, h: 0 vmsvga_update_rect: update w was < 0 (-20000) vmsvga_update_rect: update width too large x: 10000, w: 0 i could only reproduce this in qemu 2.0.50 on the master branch, when using the ui and had selected 'Zoom To Fit' from the View menu. | |||
2014-06-09 | ether79c970: fix mistake | cinap_lenrek | |
fix bug introduced by amd64 support: forgot to update ring index i on receive. surprisingly this was working until there where more than one packet to process. sorry. ilock the controller while processing rings. this should be fixed and use kprocs instead. | |||
2014-06-08 | iostats: add -C flag to enable mount cache | cinap_lenrek | |
2014-06-08 | iostats: dont sysfatal on 9p read error due to program termination | cinap_lenrek | |
the note mechanism is racy and can lead to the fs terminating iostats because it gets "i/o on hugup channel" (namespace closed). | |||
2014-06-08 | swap: make sure swap address sticks arround until page is written to swap | cinap_lenrek | |
we have to make sure the *swap address* doesnt go away, after putting the swap address in the segment pte. after we unlock the segment, the process could be killed or fault which would cause the swap address to be freed *before* we write the page to disk when it pulls the page from the cache and putswap() swap pte. keeping a reference to the page is no good. we have to hold on the swap address. this also has the advantage that we can now test if the swap address is still referenced and can avoid writing to disk. | |||
2014-06-08 | pc64: use pc/pcrandom.$O instead of port/random.$O for RDRAND instruction ↵ | cinap_lenrek | |
support | |||
2014-06-08 | kernel: remove _xinc()/_xdec() | cinap_lenrek | |
as with the Block refcount changes, _xinc() and _xdec() arent used anymore, so remove them. architecure can still define ainc()/adec() when it needs them. | |||
2014-06-08 | pc, pc64: fix missed qunlock, use Ref with incref()/decref() instead of ↵ | cinap_lenrek | |
_xinc()/_xdec() | |||
2014-06-08 | omap: move syscall.$O target from config to mkfile | cinap_lenrek | |
2014-06-08 | omap: remove Block refcounting | cinap_lenrek | |
2014-06-08 | kernel: remove Block refcounting (thanks erik) | cinap_lenrek | |
2014-06-08 | teg2: move syscall.$O and syscallfmt.$O targets from config to mkfile | cinap_lenrek | |
2014-06-08 | kw: move syscall.$O target from config to mkfile | cinap_lenrek | |
2014-06-08 | omap4: update for new syscall interface and syscallfmt | cinap_lenrek | |
2014-06-07 | dougfacts: remove html corruption and end file with newline | stanley lieber | |
2014-06-07 | pc64: remove unneeded parens in pmap() | cinap_lenrek | |
2014-06-07 | merge | cinap_lenrek | |
2014-06-07 | pc64: implement checkmmu() debug function | cinap_lenrek | |
2014-06-07 | sdvirtio: experimental support for virtio-scsi | cinap_lenrek | |
2014-06-07 | file: djvu | ftrvxmtrx | |
2014-06-06 | fortunes: i believe any successful Plan 9 distro will need to provide some ↵ | stanley lieber | |
transparency in the change review process. -- Skip Tavakkolian |