summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-18zynq: use KADDR() for kmap() if we can avoiding the mappingcinap_lenrek
2015-06-18kernel: ignore memory pages with singular kernel addressescinap_lenrek
addresses va's of 0 and -BY2PG cause trouble with some memmove()/memset() implementations and possibly other code because of the nil pointer and end pointers wrapping to zero.
2015-06-18zynq: fix barrierscinap_lenrek
unlock()/iunlock(): we need to place the coherence() *before* "l->key = 0", so that any stores that where done while holding the lock become observable *before* other processors see the lock released. cas()/tas(): place memory barrier before successfull return to prevent reordering.
2015-06-18kernel: do not inherit Proc.dot (current working directory) in kproc()cinap_lenrek
making sure to close the dot in every kproc appears repetitive, so instead stop inheriting the dot in kproc() as this is usually never what you wanted in the first place.
2015-06-18kernel: do not inherit current directory channel (dot) to pagercinap_lenrek
kproc() inherits dot and slash, pager needs to drop these channels, otherwise it will keep the files open preventing say, ramfs to exit.
2015-06-17usps: cut the useless partftrvxmtrx
2015-06-16stats: add kernel malloc and kernel draw allocation size graphscinap_lenrek
2015-06-16devcons: add current pool allocations to #c/swapcinap_lenrek
2015-06-16kernel: remove waserror() arround newpage() in mntcachecinap_lenrek
newpage() does not raise error().
2015-06-15kernel: add pagechaindone() to wakeup processes waiting for memorycinap_lenrek
we keep the details about palloc in page.c, providing pagechaindone() for mmu code to be called after a series of pagechainhead() calls.
2015-06-15dontkill: only use noswap flag to mark processes as not to be terminated on oomcinap_lenrek
changing procmode has the nasty side effect that notes cannot be posted to them, prventing sysfatal() and threadexitsall() to cleanup properly. recent kernels also check the noswap flag to void killing them in out of memory condition, so this is really all we need now.
2015-06-15there's plenty of room in /libaiju
2015-06-15kernel: implement separate wait queues for page allocationcinap_lenrek
give kernel processes and local disk file servers (procs having noswap flag set) a clear advantage for page allocation under starved condition by giving them ther own wait queue so they get readied as soon as pages become available.
2015-06-15hjfs: defer parent directory permission check for wstatcinap_lenrek
check parent directory permission *after* we determined that the new name does not exist in the parent, so that when the new name is the same as old name then no write permission is required in the parent directory.
2015-06-15hjfs: fix wstatcinap_lenrek
- rename to same name is ok - only truncate when file size is different - check for uid/gid *change*, not if it is specified or not
2015-06-15nusb/serial: remove unused channelcinap_lenrek
2015-06-15zynq: remove unused PTE typedefcinap_lenrek
all the mmu code uses ulong, so get rid of the typeded.
2015-06-15zynq: remove unused statistics fields from Mach structurecinap_lenrek
2015-06-14ndb/dns: cleanup forwarding code (redistrib())cinap_lenrek
instead of copying the whole packet, just save the udp header and restore it aftwards. dont call redistrib() when there are no forwards (this should be almost always the case).
2015-06-13theo: You are on your own.stanley lieber
2015-06-13aux/vga: == is not strncmpftrvxmtrx
2015-06-13htmlroff: fix wrong newline in \name handling (| -> ||)cinap_lenrek
2015-06-13qc, 9/ppc, 9/mtx: fix wrong if statementsftrvxmtrx
2015-06-13kernel: dont use smalloc() to allocate pte array in ibrk()cinap_lenrek
when we'r out of kernel memory, it is probably better to let that alloc fail instead of hanging while holding the segment qlock.
2015-06-13vblade, cifs, usbuhci: fix parenthesiscinap_lenrek
2015-06-13lock: reopen lockfile after changing mode to make lock effectivecinap_lenrek
lock is acquired on open/create when file has DMEXCL set in mode, so we need to reopen the file after setting the bit with wstat.
2015-06-13lib9p: fix lib9p wstat qid.type/mode checks (fixes lock(1) for ramfs/hjfs)cinap_lenrek
2015-06-13ndb/dns: use same buffer size of udp packet in redistrib() as dnudpserver() ↵cinap_lenrek
(fixes assert)
2015-06-12games/doom: remove Makefilecinap_lenrek
2015-06-12games/doom: fix desyncing demo (thanks qwx)cinap_lenrek
the code used P_Random()-P_Random() in some places which has undefined evaluation order resulting in the wrong pseudo random numbers being returned causing demo playback to desync. this change adds P_Random2() function which returns the right delta-random number and uses it in place of P_Random()-P_Random() expression.
2015-06-12kernel: fix accounttime() for HZ >= 1000cinap_lenrek
"milli-CPU's" is too low resolution for the decaying load average calculation when HZ >= 1000.
2015-06-11zynq: increase kernel memory for graphicscinap_lenrek
2015-06-11zynq: mouse accelerationcinap_lenrek
2015-06-11zynq: make screen and cursor kprocs exit properlycinap_lenrek
2015-06-11zynq: add support for hardware cursorcinap_lenrek
to enable hardware cursor, write "addr va" to /dev/mousectl where va is the virtual address of the cursor position register.
2015-06-11mergeftrvxmtrx
2015-06-11fix strncmp/memcmp used with a wrong numberftrvxmtrx
2015-06-10cifsd: smbrename is still ok when file is readonly (fixed git)cinap_lenrek
2015-06-10zynq: fix flushmemscreen()cinap_lenrek
2015-06-09remove drawlsetrefresh and convM2Tnoenc: undefined functionsftrvxmtrx
2015-06-09addpt(2): put badrect in .SH NAME so that it gets into the searchindexftrvxmtrx
2015-06-09esetcursor(2), alarm(2): fix prototypesftrvxmtrx
2015-06-09event(2): fix estartfn prototypeftrvxmtrx
2015-06-09authsrv.h: remove nonexistent prototypesftrvxmtrx
2015-06-09libdraw: sync allocimage/allocwindow prototypes with man pagesftrvxmtrx
2015-06-09ip: fix wrong radix for iphash() (thanks yoann padioleau)cinap_lenrek
yoann padioleaus report on 9fans: > I think I’ve found a bug in the network stack. > in 9/ip/ip.h there is > struct Ipht > { > Lock; > Iphash *tab[Nipht]; > }; > > where Night is 521, > > but then in 9/ip/ipaux.c there is > > ulong > iphash(uchar *sa, ushort sp, uchar *da, ushort dp) > { > return ((sa[IPaddrlen-1]<<24) ^ (sp << 16) ^ (da[IPaddrlen-1]<<8) ^ dp ) % Nhash; > } > > where Nhash is just 64,
2015-06-09zynq: add /dev/fbctl to attach framebuffer to devdrawcinap_lenrek
2015-06-09devsegment: fix parsecmd() memory leakcinap_lenrek
2015-06-09libdraw: consistent use of nil for pointers, error handlingcinap_lenrek
2015-06-09unix is BUGGERED. remove itftrvxmtrx