-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update URL for 2014 #5
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nwf
referenced
this pull request
in nwf/xv6-public
Sep 8, 2016
This was caused by 19f6541's move to holding ptable.lock across the entirety of process creation; we need to drop it for the complex call chains inside the filesystem. (gdb) info threads Id Target Id Frame * 1 Thread 1 (CPU#0 [running]) acquire (lk=0x80111a00 <icache>) at spinlock.c:32 2 Thread 2 (CPU#1 [running]) acquire (lk=0x80113120 <ptable>) at spinlock.c:32 (gdb) bt #0 acquire (lk=0x80111a00 <icache>) at spinlock.c:32 #1 0x80101c14 in idup (ip=0x80111a34 <icache+52>) at fs.c:262 #2 0x80104042 in fork () at proc.c:161 #3 0x80104db9 in syscall () at syscall.c:132 #4 0x80105dd9 in trap (tf=0x8dfbefb4) at trap.c:49 #5 0x80105bcb in alltraps () at trapasm.S:23 #6 0x8dfbefb4 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) thread 2 [Switching to thread 2 (Thread 2)] #0 acquire (lk=0x80113120 <ptable>) at spinlock.c:32 32 while(xchg(&lk->locked, 1) != 0) (gdb) bt #0 acquire (lk=0x80113120 <ptable>) at spinlock.c:32 #1 0x80104574 in wakeup (chan=0x80111a34 <icache+52>) at proc.c:413 #2 0x80101d74 in iunlock (ip=0x80111a34 <icache+52>) at fs.c:310 #3 0x801023dd in namex (path=<optimized out>, nameiparent=1, name=0x8dfbcf12 "p0") at fs.c:627 #4 0x80104e1f in create (path=<optimized out>, type=type@entry=2, major=major@entry=0, minor=0) at sysfile.c:245 #5 0x80105614 in sys_open () at sysfile.c:297 #6 0x80104db9 in syscall () at syscall.c:132 #7 0x80105dd9 in trap (tf=0x8dfbcfb4) at trap.c:49 #8 0x80105bcb in alltraps () at trapasm.S:23 #9 0x8dfbcfb4 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?)
nwf
referenced
this pull request
in nwf/xv6-public
Sep 8, 2016
This was caused by 19f6541's move to holding ptable.lock across the entirety of process creation; we need to drop it for the complex call chains inside the filesystem. (gdb) info threads Id Target Id Frame * 1 Thread 1 (CPU#0 [running]) acquire (lk=0x80111a00 <icache>) at spinlock.c:32 2 Thread 2 (CPU#1 [running]) acquire (lk=0x80113120 <ptable>) at spinlock.c:32 (gdb) bt #0 acquire (lk=0x80111a00 <icache>) at spinlock.c:32 #1 0x80101c14 in idup (ip=0x80111a34 <icache+52>) at fs.c:262 #2 0x80104042 in fork () at proc.c:161 #3 0x80104db9 in syscall () at syscall.c:132 #4 0x80105dd9 in trap (tf=0x8dfbefb4) at trap.c:49 #5 0x80105bcb in alltraps () at trapasm.S:23 #6 0x8dfbefb4 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) thread 2 [Switching to thread 2 (Thread 2)] #0 acquire (lk=0x80113120 <ptable>) at spinlock.c:32 32 while(xchg(&lk->locked, 1) != 0) (gdb) bt #0 acquire (lk=0x80113120 <ptable>) at spinlock.c:32 #1 0x80104574 in wakeup (chan=0x80111a34 <icache+52>) at proc.c:413 #2 0x80101d74 in iunlock (ip=0x80111a34 <icache+52>) at fs.c:310 #3 0x801023dd in namex (path=<optimized out>, nameiparent=1, name=0x8dfbcf12 "p0") at fs.c:627 #4 0x80104e1f in create (path=<optimized out>, type=type@entry=2, major=major@entry=0, minor=0) at sysfile.c:245 #5 0x80105614 in sys_open () at sysfile.c:297 #6 0x80104db9 in syscall () at syscall.c:132 #7 0x80105dd9 in trap (tf=0x8dfbcfb4) at trap.c:49 #8 0x80105bcb in alltraps () at trapasm.S:23 #9 0x8dfbcfb4 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?)
hutianyi003
referenced
this pull request
in hutianyi003/xv6-public
Jun 16, 2018
jafemm
added a commit
to jafemm/xv6-public
that referenced
this pull request
Jun 17, 2019
heptagon-nmt
pushed a commit
to heptagon-nmt/xv6
that referenced
this pull request
Sep 14, 2022
Update URL for 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.