Skip to content
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 1 commit into from
Nov 15, 2015
Merged

Update URL for 2014 #5

merged 1 commit into from
Nov 15, 2015

Conversation

kehao95
Copy link
Contributor

@kehao95 kehao95 commented Nov 13, 2015

No description provided.

kaashoek added a commit that referenced this pull request Nov 15, 2015
@kaashoek kaashoek merged commit 9cbe056 into mit-pdos:master Nov 15, 2015
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants