The NetBSD Project

CVS log for src/sys/arch/acorn26/acorn26/Attic/pmap.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.40
Wed Jan 24 09:04:43 2018 UTC (6 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-futex-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, isaki-audio2-base, isaki-audio2, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
FILE REMOVED
Changes since revision 1.39: +2 -2 lines
Remove port-acorn26

OK core@

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:44 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +33 -22 lines
update from HEAD

Revision 1.38.8.1: download - view: text, markup, annotated - select for diffs
Thu Nov 2 21:29:51 2017 UTC (7 years, 1 month ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +21 -17 lines
Pull up following revision(s) (requested by pgoyette in ticket #335):
	share/man/man9/kernhist.9: 1.5-1.8
	sys/arch/acorn26/acorn26/pmap.c: 1.39
	sys/arch/arm/arm32/fault.c: 1.105 via patch
	sys/arch/arm/arm32/pmap.c: 1.350, 1.359
	sys/arch/arm/broadcom/bcm2835_bsc.c: 1.7
	sys/arch/arm/omap/if_cpsw.c: 1.20
	sys/arch/arm/omap/tiotg.c: 1.7
	sys/arch/evbarm/conf/RPI2_INSTALL: 1.3
	sys/dev/ic/sl811hs.c: 1.98
	sys/dev/usb/ehci.c: 1.256
	sys/dev/usb/if_axe.c: 1.83
	sys/dev/usb/motg.c: 1.18
	sys/dev/usb/ohci.c: 1.274
	sys/dev/usb/ucom.c: 1.119
	sys/dev/usb/uhci.c: 1.277
	sys/dev/usb/uhub.c: 1.137
	sys/dev/usb/umass.c: 1.160-1.162
	sys/dev/usb/umass_quirks.c: 1.100
	sys/dev/usb/umass_scsipi.c: 1.55
	sys/dev/usb/usb.c: 1.168
	sys/dev/usb/usb_mem.c: 1.70
	sys/dev/usb/usb_subr.c: 1.221
	sys/dev/usb/usbdi.c: 1.175
	sys/dev/usb/usbdi_util.c: 1.67-1.70
	sys/dev/usb/usbroothub.c: 1.3
	sys/dev/usb/xhci.c: 1.75
	sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: 1.34
	sys/kern/kern_history.c: 1.15
	sys/kern/kern_xxx.c: 1.74
	sys/kern/vfs_bio.c: 1.275-1.276
	sys/miscfs/genfs/genfs_io.c: 1.71
	sys/sys/kernhist.h: 1.21
	sys/ufs/ffs/ffs_balloc.c: 1.63
	sys/ufs/lfs/lfs_vfsops.c: 1.361
	sys/ufs/lfs/ulfs_inode.c: 1.21
	sys/ufs/lfs/ulfs_vnops.c: 1.52
	sys/ufs/ufs/ufs_inode.c: 1.102
	sys/ufs/ufs/ufs_vnops.c: 1.239
	sys/uvm/pmap/pmap.c: 1.37-1.39
	sys/uvm/pmap/pmap_tlb.c: 1.22
	sys/uvm/uvm_amap.c: 1.108
	sys/uvm/uvm_anon.c: 1.64
	sys/uvm/uvm_aobj.c: 1.126
	sys/uvm/uvm_bio.c: 1.91
	sys/uvm/uvm_device.c: 1.66
	sys/uvm/uvm_fault.c: 1.201
	sys/uvm/uvm_km.c: 1.144
	sys/uvm/uvm_loan.c: 1.85
	sys/uvm/uvm_map.c: 1.353
	sys/uvm/uvm_page.c: 1.194
	sys/uvm/uvm_pager.c: 1.111
	sys/uvm/uvm_pdaemon.c: 1.109
	sys/uvm/uvm_swap.c: 1.175
	sys/uvm/uvm_vnode.c: 1.103
	usr.bin/vmstat/vmstat.c: 1.219
Reorder to test for null before null deref in debug code
--
Reorder to test for null before null deref in debug code
--
KNF
--
No need for '\n' in UVMHIST_LOG
--
normalise a BIOHIST log message
--
Update the kernhist(9) kernel history code to address issues identified
in PR kern/52639, as well as some general cleaning-up...
(As proposed on tech-kern@ with additional changes and enhancements.)
Details of changes:
* All history arguments are now stored as uintmax_t values[1], both in
   the kernel and in the structures used for exporting the history data
   to userland via sysctl(9).  This avoids problems on some architectures
   where passing a 64-bit (or larger) value to printf(3) can cause it to
   process the value as multiple arguments.  (This can be particularly
   problematic when printf()'s format string is not a literal, since in
   that case the compiler cannot know how large each argument should be.)
* Update the data structures used for exporting kernel history data to
   include a version number as well as the length of history arguments.
* All [2] existing users of kernhist(9) have had their format strings
   updated.  Each format specifier now includes an explicit length
   modifier 'j' to refer to numeric values of the size of uintmax_t.
* All [2] existing users of kernhist(9) have had their format strings
   updated to replace uses of "%p" with "%#jx", and the pointer
   arguments are now cast to (uintptr_t) before being subsequently cast
   to (uintmax_t).  This is needed to avoid compiler warnings about
   casting "pointer to integer of a different size."
* All [2] existing users of kernhist(9) have had instances of "%s" or
   "%c" format strings replaced with numeric formats; several instances
   of mis-match between format string and argument list have been fixed.
* vmstat(1) has been modified to handle the new size of arguments in the
   history data as exported by sysctl(9).
* vmstat(1) now provides a warning message if the history requested with
   the -u option does not exist (previously, this condition was silently
   ignored, with only a single blank line being printed).
* vmstat(1) now checks the version and argument length included in the
   data exported via sysctl(9) and exits if they do not match the values
   with which vmstat was built.
* The kernhist(9) man-page has been updated to note the additional
   requirements imposed on the format strings, along with several other
   minor changes and enhancements.
[1] It would have been possible to use an explicit length (for example,
     uint64_t) for the history arguments.  But that would require another
     "rototill" of all the users in the future when we add support for an
     architecture that supports a larger size.  Also, the printf(3)
format
     specifiers for explicitly-sized values, such as "%"PRIu64, are much
     more verbose (and less aesthetically appealing, IMHO) than simply
     using "%ju".
[2] I've tried very hard to find "all [the] existing users of
kernhist(9)"
     but it is possible that I've missed some of them.  I would be glad
to
     update any stragglers that anyone identifies.
--
For some reason this single kernel seems to have outgrown its declared
size as a result of the kernhist(9) changes.  Bump the size.
XXX The amount of increase may be excessive - anyone with more detailed
XXX knowledge please feel free to further adjust the value
appropriately.
--
Misssed one cast of pointer --> uintptr_t in previous kernhist(9) commit
--
And yet another one.  :(
--
Use correct mark-up for NetBSD version.
--
More improvements in grammar and readability.
--
Remove a stray '"' (obvious typo) and add a couple of casts that are
probably needed.
--
And replace an instance of "%p" conversion with "%#jx"
--
Whitespace fix. Give Bl tag table a width. Fix Xr.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Oct 28 00:37:12 2017 UTC (7 years, 1 month ago) by pgoyette
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +21 -17 lines
Update the kernhist(9) kernel history code to address issues identified
in PR kern/52639, as well as some general cleaning-up...

(As proposed on tech-kern@ with additional changes and enhancements.)

Details of changes:

* All history arguments are now stored as uintmax_t values[1], both in
  the kernel and in the structures used for exporting the history data
  to userland via sysctl(9).  This avoids problems on some architectures
  where passing a 64-bit (or larger) value to printf(3) can cause it to
  process the value as multiple arguments.  (This can be particularly
  problematic when printf()'s format string is not a literal, since in
  that case the compiler cannot know how large each argument should be.)

* Update the data structures used for exporting kernel history data to
  include a version number as well as the length of history arguments.

* All [2] existing users of kernhist(9) have had their format strings
  updated.  Each format specifier now includes an explicit length
  modifier 'j' to refer to numeric values of the size of uintmax_t.

* All [2] existing users of kernhist(9) have had their format strings
  updated to replace uses of "%p" with "%#jx", and the pointer
  arguments are now cast to (uintptr_t) before being subsequently cast
  to (uintmax_t).  This is needed to avoid compiler warnings about
  casting "pointer to integer of a different size."

* All [2] existing users of kernhist(9) have had instances of "%s" or
  "%c" format strings replaced with numeric formats; several instances
  of mis-match between format string and argument list have been fixed.

* vmstat(1) has been modified to handle the new size of arguments in the
  history data as exported by sysctl(9).

* vmstat(1) now provides a warning message if the history requested with
  the -u option does not exist (previously, this condition was silently
  ignored, with only a single blank line being printed).

* vmstat(1) now checks the version and argument length included in the
  data exported via sysctl(9) and exits if they do not match the values
  with which vmstat was built.

* The kernhist(9) man-page has been updated to note the additional
  requirements imposed on the format strings, along with several other
  minor changes and enhancements.

[1] It would have been possible to use an explicit length (for example,
    uint64_t) for the history arguments.  But that would require another
    "rototill" of all the users in the future when we add support for an
    architecture that supports a larger size.  Also, the printf(3) format
    specifiers for explicitly-sized values, such as "%"PRIu64, are much
    more verbose (and less aesthetically appealing, IMHO) than simply
    using "%ju".

[2] I've tried very hard to find "all [the] existing users of kernhist(9)"
    but it is possible that I've missed some of them.  I would be glad to
    update any stragglers that anyone identifies.

Revision 1.36.16.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:00 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +14 -7 lines
Sync with HEAD

Revision 1.36.20.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:08 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +14 -7 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Dec 24 17:11:31 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
pass the bank handle to uvm_physseg_get_avail_start();

Should fix the acorn26 kernel build.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Dec 23 07:15:27 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +14 -7 lines
"Make NetBSD great again!"

Introduce uvm_hotplug(9) to the kernel.

Many thanks, in no particular order to:

TNF, for funding the project.

Chuck Silvers - for multiple API reviews and feedback.
Nick Hudson - for testing on multiple architectures and bugfix patches.
Everyone who helped with boot testing.

KeK (http://www.kek.org.in) for hosting the primary developers.

Revision 1.33.12.2: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:08:41 2012 UTC (12 years, 6 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.33.12.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.12.1: +7 -7 lines
sync to latest -current.

Revision 1.33.8.2: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:36 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.33.8.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.8.1: +7 -7 lines
sync with head.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri May 11 15:39:17 2012 UTC (12 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, localcount-20160914, khorben-n900, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, pgoyette-localcount, nick-nhusb
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +7 -7 lines
u_int*_t -> uint*_t

Same code before and after.

Revision 1.33.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:51 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +12 -11 lines
sync with head

Revision 1.33.12.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:30:42 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +12 -11 lines
merge to -current.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Feb 12 16:34:06 2012 UTC (12 years, 9 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base4, 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-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, 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-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Change old-style function defintions to C89 prototypes.

Approved by releng.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Jan 30 17:03:58 2012 UTC (12 years, 10 months ago) by he
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +11 -10 lines
Convert from malloc()/free() to kmem_* family of functions.
Discussed with and some guidance from para@.

Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:03 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +8 -6 lines
sync with head

Revision 1.30.2.6: download - view: text, markup, annotated - select for diffs
Mon Nov 15 15:11:52 2010 UTC (14 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.30.2.5: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.5: +0 -7 lines
Revert xmd(4).

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Nov 15 06:06:51 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -0 lines
struct proc * and struct lwp * derefs.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Nov 12 12:48:49 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base6
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -1 lines
Include uvm/uvm.h for UVM internal definitions.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Nov 10 09:27:21 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -5 lines
Use more VM_PHYSMEM_*() accessors.  No functional changes.

Revision 1.30.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 30 08:41:05 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.30.2.4: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.4: +7 -0 lines
Implement pmap_physload_device(9) to replace xmd(4) MD backend.
Implement pmap_mmap(9) and use it from mem(4) and xmd(4).

Revision 1.30.2.4: download - view: text, markup, annotated - select for diffs
Fri May 28 15:42:17 2010 UTC (14 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.30.2.3: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.3: +1 -1 lines
Redo previous.

Revision 1.30.2.3: download - view: text, markup, annotated - select for diffs
Fri May 28 15:40:05 2010 UTC (14 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.30.2.2: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.2: +1 -2 lines
pmap_enter:
This pmap treats all pmap_enter()'ed entries as "managed", and always
allocate PV entries.  Put back the original behavior.  There is no need
to check the new PMAP_UNMANAGED flag.

Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 28 08:31:05 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.1: +3 -3 lines
Always use struct vm_physseg *vm_physmem_ptrs[] in MD code.

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 27 07:19:27 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -3 lines
Support PMAP_UNMANAGED in some pmaps.

(Others should be converted eventually, but no problem while managed
device page is not used.)

Revision 1.19.20.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:01:55 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19.20.2: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.20.2: +3 -12 lines
sync with head

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Nov 7 07:27:40 2009 UTC (15 years, 1 month ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
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.29: download - view: text, markup, annotated - select for diffs
Wed Oct 21 21:11:58 2009 UTC (15 years, 1 month ago) by rmind
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -11 lines
Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.

Revision 1.19.20.2: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:11 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19.20.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.20.1: +3 -3 lines
sync with head

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:16:01 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +17 -24 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun May 10 21:47:57 2009 UTC (15 years, 6 months ago) by he
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Also update the prototype for pmap_enter1() after the recent
int -> u_int change.

Revision 1.19.20.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:23 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +25 -36 lines
sync with head.

Revision 1.19.28.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:33:30 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.19.28.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.28.1: +16 -23 lines
Sync with HEAD.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Apr 21 21:29:58 2009 UTC (15 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4 lines
change pmap flags argument from int to u_int.
discussed with christos@ on source-changes-d@

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Mar 18 16:00:08 2009 UTC (15 years, 8 months ago) by cegger
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +7 -7 lines
bzero -> memset

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Mar 18 10:22:21 2009 UTC (15 years, 8 months ago) by cegger
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4 lines
Ansify function definitions w/o arguments. Generated with sed.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:01 2009 UTC (15 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -6 lines
ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Mar 14 15:35:58 2009 UTC (15 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +6 -10 lines
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.19.28.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:15:50 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +11 -15 lines
Sync with HEAD.

Revision 1.19.16.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:27:46 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +11 -15 lines
Sync with HEAD.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Dec 17 20:51:31 2008 UTC (15 years, 11 months ago) by cegger
Branches: MAIN
CVS tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +9 -14 lines
kill MALLOC and FREE macros.

Revision 1.19.26.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:12:55 2008 UTC (15 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +4 -3 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Dec 10 11:10:17 2008 UTC (15 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: haad-nbase2, haad-dm-base2, haad-dm-base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
Make kernel_pmap_ptr a const.  Requested by steve_martin.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Dec 9 20:45:44 2008 UTC (15 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -3 lines
Make pmap_kernel() a MI macro for struct pmap *kernel_pmap_ptr,
which is now the "API" provided by the pmap module.  pmap_kernel()
remains as the syntactic sugar.

Bonus cosmetics round: move all the pmap_t pointer typedefs into
uvm_pmap.h.

Thanks to Greg Oster for providing cpu muscle for doing test builds.

Revision 1.18.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:13:30 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +2 -2 lines
sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:52:52 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs-base, mjf-devfs, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-dm-base1, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base-1
Branch point for: yamt-nfs-mp, nick-hppapmap, mjf-devfs2, haad-dm
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.17.8.1: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:21:50 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +3 -3 lines
Sync with HEAD

Revision 1.11.12.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:22:00 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.11.12.2: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.12.2: +10 -9 lines
sync with head.

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:36:39 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.16.2.1: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +3 -3 lines
Sync with HEAD.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Jul 16 23:48:03 2007 UTC (17 years, 4 months ago) by macallan
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
change pmap_phys_address()s parameter to paddr_t since that's what it gets
fed from mmap*() anyway
approved by gimpy

Revision 1.12.26.3: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:54:30 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.12.26.2: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.26.2: +3 -3 lines
sync with head.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:49:53 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Sync with head.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Mar 12 18:18:22 2007 UTC (17 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, mjf-ufs-trans-base, mjf-ufs-trans
Branch point for: ppcoea-renovation
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.12.26.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:45:11 2007 UTC (17 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.12.26.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.26.1: +8 -7 lines
Sync with HEAD.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Mar 5 16:42:38 2007 UTC (17 years, 9 months ago) by he
Branches: MAIN
Branch point for: vmlocking
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -4 lines
Cast to char* before doing pointer arithmetic.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Mar 4 05:59:03 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -5 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.12.26.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:48:28 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +20 -20 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.11.12.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:05:27 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.11.12.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.12.1: +20 -20 lines
sync with head.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Feb 22 04:47:28 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +11 -11 lines
TRUE -> true, FALSE -> false

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Feb 21 22:59:35 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +12 -12 lines
Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.11.12.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:47:47 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +8 -8 lines
sync with head.

Revision 1.9.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:12 2005 UTC (18 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.9.2.3: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.3: +8 -8 lines
Sync with head.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Dec 8 22:41:44 2005 UTC (19 years ago) by yamt
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ktrace-lwp-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +8 -8 lines
use VM_PAGE_TO_PHYS macro.

Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:11:20 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.9.2.2: preferred, colored
Changes since revision 1.9.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:30:29 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.9.2.1: preferred, colored
Changes since revision 1.9.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:30:47 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
Sync with HEAD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Apr 23 02:58:28 2004 UTC (20 years, 7 months ago) by simonb
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Oct 26 13:17:50 2003 UTC (21 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
fix NULL vs. 0 usage

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat May 10 21:10:25 2003 UTC (21 years, 7 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +23 -12 lines
Back out the following chagne:
    http://mail-index.netbsd.org/source-changes/2003/05/08/0068.html

There were some side-effects that I didn't anticipate, and fixing them
is proving to be more difficult than I thought, do just eject for now.
Maybe one day we can look at this again.

Fixes PR kern/21517.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu May 8 18:13:12 2003 UTC (21 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +14 -25 lines
Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().

This also eliminates some kludges such as having to burn kernel_map
entries on space used by the kernel and stolen KVA.

This also eliminates use of VM_{MIN,MAX}_KERNEL_ADDRESS from MI code,
this giving MD code greater flexibility over the bounds of the managed
kernel virtual address space if a given port's specific platforms can
vary in this regard (this is especially true of the evb* ports).

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:55:24 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -4 lines
Merge the nathanw_sa branch.

Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 7 20:45:46 2003 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.2: +3 -3 lines
Sync with HEAD.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jan 6 20:30:31 2003 UTC (21 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
writable, not writeable.

Revision 1.3.6.3: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:30:55 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.6.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.6.2: +2 -17 lines
sync kqueue branch with HEAD

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 30 00:18:40 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +2 -17 lines
catch up with -current.

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 27 07:14:37 2002 UTC (22 years, 3 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +1173 -0 lines
LWP'ify.

Revision 1.5.2.1
Fri Aug 16 22:51:43 2002 UTC (22 years, 3 months ago) by thorpej
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.5: +0 -1171 lines
file pmap.c was added on branch nathanw_sa on 2002-08-27 07:14:37 +0000

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Aug 16 22:51:43 2002 UTC (22 years, 3 months ago) by bjh21
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Branch point for: nathanw_sa
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -6 lines
If we're treating the MEMC as a TLB, there's no need to completely reload
it in pmap_activate().  Instead, let's leave it empty and let pages be
faulted into it on demand.  This improves the context switch latency
somewhat, at least for small processes.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Aug 16 21:16:48 2002 UTC (22 years, 3 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -13 lines
According to Chuck Silvers, pmap_copy_page() and pmap_zero_page() don't
need to mess with the referenced and modified flags, since they're only
called when a page is being initialised, and is about to have them cleared.
Make this so.

Revision 1.3.6.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:33:36 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.6.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.6.1: +1186 -0 lines
catch up with -current on kqueue branch

Revision 1.3.6.1
Fri Apr 12 18:50:30 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
FILE REMOVED
Changes since revision 1.3: +0 -1186 lines
file pmap.c was added on branch kqueue on 2002-06-23 17:33:36 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Apr 12 18:50:30 2002 UTC (22 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: kqueue, gehenna-devsw
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -3 lines
Centralize ARM CPU configuration information by adding a new header
file, <arm/cpuconf.h>, which pulls in "opt_cputypes.h" and then defines
the following:
* CPU_NTYPES -- now many CPU types are configured into the kernel.  What
  you really want to know is "== 1" or "> 1".
* Defines ARM_ARCH_2, ARM_ARCH_3, ARM_ARCH_4, ARM_ARCH_5, depending
  on which ARM architecture versions are configured (based on CPU_*
  options).  Also defines ARM_NARCH to determins how many architecture
  versions are configured.
* Defines ARM_MMU_MEMC, ARM_MMU_GENERIC, ARM_MMU_XSCALE depending on
  which classes of ARM MMUs are configured into the kernel, and ARM_NMMUS
  to determine how many MMU classes are configured.

Remove the needless inclusion of "opt_cputypes.h" in several places.
Convert remaining users to <arm/cpuconf.h>.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 24 23:37:42 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -4 lines
Remove all my pointless "This file is part of NetBSD/arm26" comments, since
that's easier than correcting them.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 24 15:46:47 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Rename NetBSD/arm26 to NetBSD/acorn26, so that the two Acorn/ARM ports have
matching names.  This commit might include some private hacks that have been
lurking in my tree a while.  They're all harmless, and this reduces the number
of gratuitous diffs I have to deal with.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>