The NetBSD Project

CVS log for src/sys/uvm/uvm_emap.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.9 / (download) - annotate - [select for diffs], Fri Apr 13 15:33:38 2012 UTC (13 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-nbase, tls-maxphys-base, tls-maxphys, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base10, agc-symver-base, agc-symver, HEAD
Changes since 1.8: +36 -2 lines
Diff to previous 1.8 (colored)

comments

Revision 1.8 / (download) - annotate - [select for diffs], Fri Sep 2 22:25:08 2011 UTC (20 months, 2 weeks ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.7: +8 -4 lines
Diff to previous 1.7 (colored)

Report vmem(9) errors out-of-band so that we can use vmem(9) to manage
ranges that include the least and the greatest vmem_addr_t.  Update
vmem(9) uses throughout the kernel.  Slightly expand on the tests in
subr_vmem.c, which still pass.  I've been running a kernel with this
patch without any trouble.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Apr 25 15:54:14 2010 UTC (3 years ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.6: +9 -7 lines
Diff to previous 1.6 (colored)

Reduce memory spent on bookkeeping for large values of MAXCPUS.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:49 2009 UTC (3 years, 6 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Aug 29 00:06:43 2009 UTC (3 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, jym-xensuspend-nbase
Changes since 1.4: +7 -4 lines
Diff to previous 1.4 (colored)

- Re-enable direct I/O with emap for pipe.
- While not used, #ifdef KVA allocation in emap (so it wont burn the space).

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 20 03:51:42 2009 UTC (3 years, 10 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, jymxensuspend-base
Branch point for: jym-xensuspend
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Globalize uvm_emap_size.  It use to calculate size of kernel page table.
  http://mail-index.netbsd.org/current-users/2009/07/13/msg009983.html

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 19 15:17:29 2009 UTC (3 years, 10 months ago) by rmind
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

pmap_emap_sync: add an argument, and do not perform pmap_load() during
context switch (pmap_destroy() path seems to be unsafe), instead just
perform tlbflush().  Slightly inefficient, but good enough for now.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 9 21:43:17 2009 UTC (3 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6
Branch point for: yamt-nfs-mp
Changes since 1.1: +9 -2 lines
Diff to previous 1.1 (colored)

- Fix rare crashe in the intr_lapic_tlb_bcast() handler: save and setup
  %fs on i386, %gs on amd64 registers, before using them.  Otherwise, it
  might be invalid/garbage, eg. IPI can interrupt userspace.

- Explicitly initialize per-CPU emap generation number.

Thanks <drochner> for reporting and testing of patch.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jun 28 15:18:50 2009 UTC (3 years, 10 months ago) by rmind
Branch: MAIN

Ephemeral mapping (emap) implementation.  Concept is based on the idea that
activity of other threads will perform the TLB flush for the processes using
emap as a side effect.  To track that, global and per-CPU generation numbers
are used.  This idea was suggested by Andrew Doran; various improvements to
it by me.  Notes:

- For now, zero-copy on pipe is not yet enabled.
- TCP socket code would likely need more work.
- Additional UVM loaning improvements are needed.

Proposed on <tech-kern>, silence there.
Quickly reviewed by <ad>.

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>