The NetBSD Project

CVS log for src/sys/arch/i386/i386/locore.S

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / i386 / i386

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: yamt-idlelwp


Revision 1.45.2.8 / (download) - annotate - [select for diffs], Wed Apr 4 22:33:28 2007 UTC (7 years, 5 months ago) by ad
Branch: yamt-idlelwp
Changes since 1.45.2.7: +3 -2 lines
Diff to previous 1.45.2.7 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

- Move setting curlwp back to cpu_switchto(). Necessary because if
  curlwp is made a register variable, we may also need to keep a
  copy in struct cpu_info for other CPUs to inspect. Okay yamt@.
- Clearing ci_need_resched is now done in mi_switch().

Revision 1.45.2.7 / (download) - annotate - [select for diffs], Wed Apr 4 13:04:09 2007 UTC (7 years, 5 months ago) by ad
Branch: yamt-idlelwp
Changes since 1.45.2.6: +9 -10 lines
Diff to previous 1.45.2.6 (colored) to branchpoint 1.45 (colored)

%cr0:0 is PE, not TS. Pointed out by yamt@.

Revision 1.45.2.6 / (download) - annotate - [select for diffs], Thu Mar 29 19:00:24 2007 UTC (7 years, 5 months ago) by ad
Branch: yamt-idlelwp
Changes since 1.45.2.5: +76 -159 lines
Diff to previous 1.45.2.5 (colored) to branchpoint 1.45 (colored)

- Tidy up slightly: remove pointless #ifdefs, make function descriptions
  consistent, remove checks for options that were removed 4+ years ago, ...
- Don't reload %cr0 or check for RAS if switching to a kthread.
- Don't try dropping the ipl using "movl $IPL_SCHED,CPUVAR(ILEVEL)". Causes
  deadlocks because the later drop of priority (possibly by mi_switch) can
  fail to notice pending IPIs. Just leave the level at IPL_IPI (for a very
  short time) at let it be dropped in mi_switch(). Spotted by yamt@.

Revision 1.45.2.5 / (download) - annotate - [select for diffs], Sat Mar 24 18:30:36 2007 UTC (7 years, 5 months ago) by ad
Branch: yamt-idlelwp
Changes since 1.45.2.4: +17 -9 lines
Diff to previous 1.45.2.4 (colored) to branchpoint 1.45 (colored)

cpu_switchto:

- Replace cli/sti with raising the priority level to IPL_IPI.
- Don't reload %cr0 unless necessary.

Improves timings for a pthread condvar benchmark I have by a further 45%
on a dual core system. Reviewed by yamt@.

Revision 1.45.2.4 / (download) - annotate - [select for diffs], Tue Mar 13 01:55:47 2007 UTC (7 years, 6 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.45.2.3: +3 -4 lines
Diff to previous 1.45.2.3 (colored) to branchpoint 1.45 (colored)

cpu_switchto(): Pass the correct argument for ras_lookup(), fixes
crash with pthreads. From ad@

Revision 1.45.2.3 / (download) - annotate - [select for diffs], Tue Feb 27 16:51:38 2007 UTC (7 years, 6 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.45.2.2: +3 -3 lines
Diff to previous 1.45.2.2 (colored) to branchpoint 1.45 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Sat Feb 17 15:19:52 2007 UTC (7 years, 7 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.45.2.1: +1 -1 lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored)

fix a comment.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Sat Feb 17 10:30:45 2007 UTC (7 years, 7 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.45: +52 -373 lines
Diff to previous 1.45 (colored)

- separate context switching and thread scheduling.
- introduce idle lwp.
- change some related MD/MI interfaces and implement i386 version.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:04 2007 UTC (7 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.44: +13 -19 lines
Diff to previous 1.44 (colored)

Merge newlock2 to head.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>