#
82638c01 |
| 20-Mar-2019 |
Dan Cross <cross@gajendra.net> |
Avoid rereading the superblock in bfree
The superblock is read when the first process returns to userspace (via the call to `iinit` from the first invocation of `forkret`, when `first` is still set
Avoid rereading the superblock in bfree
The superblock is read when the first process returns to userspace (via the call to `iinit` from the first invocation of `forkret`, when `first` is still set to 1) and cached in a global; it is treated as immutable from that point on. There is no reason to re-read it in bfree.
Removing this call seems to have simply been missed in 8320d61b when this general area was last touched. Remove it now to avoid potential confusion.
Signed-off-by: Dan Cross <cross@gajendra.net>
show more ...
|
Revision tags: xv6-rev11 |
|
#
4638cabf |
| 29-Aug-2017 |
Robert Morris <rtm@csail.mit.edu> |
fix runoff complaints about pagination and long lines
|
#
6389d9d4 |
| 09-Aug-2017 |
Robert Morris <rtm@csail.mit.edu> |
nothing much
|
#
70705966 |
| 09-Aug-2017 |
Robert Morris <rtm@csail.mit.edu> |
comment fixes
|
#
a4ee6f7d |
| 08-Aug-2017 |
Robert Morris <rtm@csail.mit.edu> |
fix iput() to more obviously avoid deadlock
|
#
1c7aa960 |
| 08-Aug-2017 |
Robert Morris <rtm@csail.mit.edu> |
a little more lock documentation
|
#
70d912b3 |
| 08-Aug-2017 |
Robert Morris <rtm@csail.mit.edu> |
protect ip->valid and ip->nlink with sleep lock in iput()
|
#
3375df50 |
| 08-Aug-2017 |
Robert Morris <rtm@csail.mit.edu> |
change ip->flags&I_VALID to ip->valid
|
#
aba8423c |
| 08-Aug-2017 |
Robert Morris <rtm@csail.mit.edu> |
frans' fixes to iput()
|
#
9cec455b |
| 08-Aug-2017 |
Robert Morris <rtm@csail.mit.edu> |
fs comment nits
|
#
825ce074 |
| 07-Aug-2017 |
Frans Kaashoek <kaashoek@mit.edu> |
Remove some debugging statements
|
#
61f26e3c |
| 27-Apr-2017 |
Grant Wu <grantwu2@gmail.com> |
Fix typo in dirlookup
|
#
abf847a0 |
| 31-Jan-2017 |
Frans Kaashoek <kaashoek@mit.edu> |
Start of an experiment to remove the use of gs for cpu local variables.
|
#
dec637bc |
| 12-Sep-2016 |
Frans Kaashoek <kaashoek@mit.edu> |
Replace I_BUSY with sleep locks
|
#
6670d3b5 |
| 11-Sep-2016 |
Frans Kaashoek <kaashoek@mit.edu> |
Straight replacement of B_BUSY with a sleeping lock.
|
Revision tags: xv6-rev9 |
|
#
b7fed77b |
| 02-Sep-2016 |
Frans Kaashoek <kaashoek@mit.edu> |
Fix a few lines that runoff is complaining about that they are too long
|
#
7894fcd2 |
| 25-Aug-2016 |
Frans Kaashoek <kaashoek@mit.edu> |
Remove trailing white space with: for f in *.{h,c}; do sed -i .sed 's/[[:blank:]]*$//' $f; done (Thanks to Nicolás Wolovick)
|
#
8320d61b |
| 27-Jun-2015 |
Frans Kaashoek <kaashoek@mit.edu> |
Pick up where i left off in april: - move log into metadata part of disk, so that marking that the log's blocks are in use falls out for free - superblock describes the whole disk (sizes and offets)
Pick up where i left off in april: - move log into metadata part of disk, so that marking that the log's blocks are in use falls out for free - superblock describes the whole disk (sizes and offets) - sizes and offsets are computed in one place (mkfs) and the rest of the code refers to the superblock for these values, instead of recomputing them.
show more ...
|
#
c24ac5d7 |
| 03-Apr-2015 |
Frans Kaashoek <kaashoek@mit.edu> |
Disentangle block size from the disk's sector size. Set block size to 1024 to show that they can be different. Clean up mkfs, simplifying specifying fs parameters, remove some redundancy between fs
Disentangle block size from the disk's sector size. Set block size to 1024 to show that they can be different. Clean up mkfs, simplifying specifying fs parameters, remove some redundancy between fs and mkfs, and fix disk layout bugs. Call blocks in the file system blocks instead of sectors. Passes usertests for different block sizes.
show more ...
|
Revision tags: xv6-rev8 |
|
#
e2b4583d |
| 28-Aug-2014 |
Robert Morris <rtm@csail.mit.edu> |
xx
|
#
12eeefc7 |
| 27-Aug-2014 |
Robert Morris <rtm@csail.mit.edu> |
comments
|
#
2c565472 |
| 04-Aug-2014 |
Robert Morris <rtm@csail.mit.edu> |
every iput() and namei() must be inside a transaction
|
Revision tags: xv6-rev7, osdi12-submit |
|
#
38eee5bc |
| 11-Oct-2011 |
Robert Morris <rtm@csail.mit.edu> |
more FS comment clarification
|
#
a5fbfe41 |
| 11-Oct-2011 |
Robert Morris <rtm@csail.mit.edu> |
clarify some FS comments
|
Revision tags: xv6-rev6 |
|
#
1ddfbbb1 |
| 29-Aug-2011 |
Frans Kaashoek <kaashoek@26-4-190.dynamic.csail.mit.edu> |
Revert "Introduce and use sleeplocks instead of BUSY flags" My changes have a race with re-used bufs and the code doesn't seem to get shorter Keep the changes that fixed ip->off race
This reverts co
Revert "Introduce and use sleeplocks instead of BUSY flags" My changes have a race with re-used bufs and the code doesn't seem to get shorter Keep the changes that fixed ip->off race
This reverts commit 3a5fa7ed9020eaf8ab843a16d26db7393b2ec072.
Conflicts:
defs.h file.c file.h
show more ...
|