Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-18 | zynq: use KADDR() for kmap() if we can avoiding the mapping | cinap_lenrek | |
2015-06-18 | kernel: ignore memory pages with singular kernel addresses | cinap_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-18 | zynq: fix barriers | cinap_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-18 | kernel: 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-18 | kernel: do not inherit current directory channel (dot) to pager | cinap_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-17 | usps: cut the useless part | ftrvxmtrx | |
2015-06-16 | stats: add kernel malloc and kernel draw allocation size graphs | cinap_lenrek | |
2015-06-16 | devcons: add current pool allocations to #c/swap | cinap_lenrek | |
2015-06-16 | kernel: remove waserror() arround newpage() in mntcache | cinap_lenrek | |
newpage() does not raise error(). | |||
2015-06-15 | kernel: add pagechaindone() to wakeup processes waiting for memory | cinap_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-15 | dontkill: only use noswap flag to mark processes as not to be terminated on oom | cinap_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-15 | there's plenty of room in /lib | aiju | |
2015-06-15 | kernel: implement separate wait queues for page allocation | cinap_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-15 | hjfs: defer parent directory permission check for wstat | cinap_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-15 | hjfs: fix wstat | cinap_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-15 | nusb/serial: remove unused channel | cinap_lenrek | |
2015-06-15 | zynq: remove unused PTE typedef | cinap_lenrek | |
all the mmu code uses ulong, so get rid of the typeded. | |||
2015-06-15 | zynq: remove unused statistics fields from Mach structure | cinap_lenrek | |
2015-06-14 | ndb/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-13 | theo: You are on your own. | stanley lieber | |
2015-06-13 | aux/vga: == is not strncmp | ftrvxmtrx | |
2015-06-13 | htmlroff: fix wrong newline in \name handling (| -> ||) | cinap_lenrek | |
2015-06-13 | qc, 9/ppc, 9/mtx: fix wrong if statements | ftrvxmtrx | |
2015-06-13 | kernel: 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-13 | vblade, cifs, usbuhci: fix parenthesis | cinap_lenrek | |
2015-06-13 | lock: reopen lockfile after changing mode to make lock effective | cinap_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-13 | lib9p: fix lib9p wstat qid.type/mode checks (fixes lock(1) for ramfs/hjfs) | cinap_lenrek | |
2015-06-13 | ndb/dns: use same buffer size of udp packet in redistrib() as dnudpserver() ↵ | cinap_lenrek | |
(fixes assert) | |||
2015-06-12 | games/doom: remove Makefile | cinap_lenrek | |
2015-06-12 | games/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-12 | kernel: fix accounttime() for HZ >= 1000 | cinap_lenrek | |
"milli-CPU's" is too low resolution for the decaying load average calculation when HZ >= 1000. | |||
2015-06-11 | zynq: increase kernel memory for graphics | cinap_lenrek | |
2015-06-11 | zynq: mouse acceleration | cinap_lenrek | |
2015-06-11 | zynq: make screen and cursor kprocs exit properly | cinap_lenrek | |
2015-06-11 | zynq: add support for hardware cursor | cinap_lenrek | |
to enable hardware cursor, write "addr va" to /dev/mousectl where va is the virtual address of the cursor position register. | |||
2015-06-11 | merge | ftrvxmtrx | |
2015-06-11 | fix strncmp/memcmp used with a wrong number | ftrvxmtrx | |
2015-06-10 | cifsd: smbrename is still ok when file is readonly (fixed git) | cinap_lenrek | |
2015-06-10 | zynq: fix flushmemscreen() | cinap_lenrek | |
2015-06-09 | remove drawlsetrefresh and convM2Tnoenc: undefined functions | ftrvxmtrx | |
2015-06-09 | addpt(2): put badrect in .SH NAME so that it gets into the searchindex | ftrvxmtrx | |
2015-06-09 | esetcursor(2), alarm(2): fix prototypes | ftrvxmtrx | |
2015-06-09 | event(2): fix estartfn prototype | ftrvxmtrx | |
2015-06-09 | authsrv.h: remove nonexistent prototypes | ftrvxmtrx | |
2015-06-09 | libdraw: sync allocimage/allocwindow prototypes with man pages | ftrvxmtrx | |
2015-06-09 | ip: 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-09 | zynq: add /dev/fbctl to attach framebuffer to devdraw | cinap_lenrek | |
2015-06-09 | devsegment: fix parsecmd() memory leak | cinap_lenrek | |
2015-06-09 | libdraw: consistent use of nil for pointers, error handling | cinap_lenrek | |
2015-06-09 | unix is BUGGERED. remove it | ftrvxmtrx | |