summaryrefslogtreecommitdiff
path: root/spinlock.c
AgeCommit message (Expand)AuthorFilesLines
2018-08-30Allow holding to be called with interrupts enabled (for Mark Morrissey).Frans Kaashoek1-1/+5
2017-01-31Start of an experiment to remove the use of gs for cpu local variables.Frans Kaashoek1-7/+7
2016-09-15Merge branch 'master' of g.csail.mit.edu:xv6-devRobert Morris1-1/+1
2016-09-15xxRobert Morris1-1/+1
2016-09-14Update comment a bit.Frans Kaashoek1-1/+1
2016-09-08use asm() for lock release, not a C assignmentRobert Morris1-2/+4
2016-09-02comment about sched() saving/restoring cpu->intenaRobert Morris1-1/+2
2016-08-25Remove trailing white space with:Frans Kaashoek1-2/+2
2016-08-12separate atomic test-and-set from memory barrier.Robert Morris1-12/+14
2011-08-29Revert "Introduce and use sleeplocks instead of BUSY flags"Frans Kaashoek1-38/+4
2011-08-26Introduce and use sleeplocks instead of BUSY flagsFrans Kaashoek1-4/+38
2011-07-29Map kernel highFrans Kaashoek1-1/+2
2011-01-11make new code like old codeRuss Cox1-1/+1
2010-09-13change some comments, maybe more informativeRobert Morris1-1/+1
2010-07-02nitsFrans Kaashoek1-1/+1
2010-07-02Initial version of single-cpu xv6 with page tablesFrans Kaashoek1-1/+1
2009-08-30assorted fixes:Russ Cox1-11/+8
2009-07-11spinlock: rename parameter lock -> lkRuss Cox1-15/+15
2009-05-31Some proc cleanup, moving some of copyproc into allocproc.rsc1-4/+4
2009-03-08be consistent: no underscores in function namesrsc1-2/+2
2008-10-12include explicitly initialized globals (int x = 0;) in cross-refs,kolya1-2/+0
2008-09-28document lock->locked=0 vs xchg(&lock->locked, 0)rtm1-4/+8
2007-10-01Incorporate new understanding of/with Intel SMP spec.rsc1-9/+10
2007-09-30Re: why cpuid() in locking code?rsc1-8/+8
2007-09-27Final word on the locking fiasco?rsc1-5/+9
2007-09-27rename splhi/spllo to pushcli/popclirsc1-9/+9
2007-09-27kernel SMP interruptibility fixes.rsc1-6/+25
2007-08-31continuous quality managementrtm1-2/+2
2007-08-27delete unnecessary #include linesrsc1-1/+1
2007-08-24Reorder spinlock.c: acquire and release firstrsc1-25/+26
2007-08-22PDF at http://am.lcs.mit.edu/~rsc/xv6.pdfrsc1-8/+7
2007-08-10nitrsc1-2/+2
2007-08-10and spinlockrsc1-1/+4
2006-09-08make lines shorterrsc1-2/+2
2006-09-08some comment changeskaashoek1-7/+6
2006-09-07comment memory barriersrsc1-1/+8
2006-09-07more commentsrsc1-1/+15
2006-09-06wrap long linesrsc1-3/+6
2006-09-06standardize various * conventionsrsc1-3/+3
2006-09-06spacing fixes: no tabs, 2-space indents (for rtm)rsc1-2/+2
2006-08-29prune unneeded panics and debug outputrtm1-2/+0
2006-08-29clean up stale error checks and panicsrtm1-27/+16
2006-08-10interrupts could be recursive since lapic_eoi() called before rtirtm1-2/+16
2006-08-10low-level keyboard input (not hooked up to /dev yet)rtm1-2/+6
2006-08-08fix race in holding() check in acquire()rtm1-12/+16
2006-07-29open()rtm1-2/+8
2006-07-17add ide_lock for sleeprsc1-1/+13
2006-07-16Keep interrupts disabled during startup.rsc1-2/+2
2006-07-16remove acquire1 and release1rsc1-16/+4
2006-07-16New scheduler.rsc1-26/+20