Commit Graph

122 Commits

Author SHA1 Message Date
christos f347d465be Add new -k (for kernel modules) flag to return MM.99.pp for current and MM.mm
for the release branch.
2012-02-16 23:56:57 +00:00
christos 647ed7be84 Don't eat _BETA. I am sure dsl will come up with something more elegant. 2012-02-16 17:25:35 +00:00
dsl c0ed6b9587 Fix borkeage 2009-11-15 18:41:08 +00:00
dsl b6abfac44f Get patch part of version from comment. 2009-11-15 14:40:18 +00:00
dsl 3f7c0ec34d Use shell builtins instead of awk and sed.
Avoids problems with awk processing floating point numbers when LC_NUMERIC
give a decimal point of ','.
Fixes PR/42321
2009-11-15 13:39:00 +00:00
apb 2fbd897fba Describe new -n option in a comment; improve description of -m option. 2009-10-29 06:33:27 +00:00
joerg f92e474cf5 Add -n option to print major and minor version, e.g. 5.99 on -current. 2009-10-26 15:32:38 +00:00
apb 945315ec99 Use ${TOOL_SED}, which is defined by bsd.own.mk/bsd.sys.mk,
instead of just ${SED}.   (Don't do the same for ${AWK},
because that's not yet a host tool.)
2008-08-05 08:26:05 +00:00
perry 3a8b66906e Per request from Matt Thomas, make -m on -current print the major
number of the next release.
2008-08-04 19:30:09 +00:00
perry 3fe86b6b2e 1) replace use of sed with $SED
2) get rid of grep variable -- grep isn't used here
3) add a -m option that prints the release major number (like "4")
4) add a comment documenting the options
2008-08-04 17:56:52 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
riz bbde6246b7 Back out revision 1.109 - it's NOT silly to parse the comment when
there's important information there.  Like, say, a _BETA extension.
2006-08-08 07:05:40 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
christos 18ffd946a1 It is silly to parse the comment in the header file to determine the
version number, when it is trivial to compute it directly. Also if
you are going to fork awk to do some work, do all of it there.
2005-03-27 23:27:31 +00:00
simonb 553aeff41f Remove the remains of an old comment that doesn't apply any more. 2004-09-14 15:19:35 +00:00
jdolecek 4e1d4165e5 get the release version from <sys/param.h>, so that it won't be necessary
to change two places on version bump
2003-10-04 06:59:56 +00:00
christos 1b246f974c Welcome to 1.6ZC
- hope this sticks for a while since it is my initials
- cl, here is your chance to commit the SA pagefault stuff.
2003-09-16 12:08:23 +00:00
christos 32d14d8273 ZA -> ZB 2003-09-14 07:01:19 +00:00
jdolecek 6dcd3a676c Bump version to 1.6ZA - struct proc and struct lwp changes
Deja vu ...
2003-09-13 08:55:09 +00:00
christos b5afd1a527 welcome to 1.6Z 2003-09-06 23:23:17 +00:00
itojun cdb260b823 welcome to 1.6Y (for inpcb/in6pcb change) 2003-09-04 09:17:40 +00:00
cb 346280bc3c bump kernel version to 1.6X for systrace changes 2003-08-25 19:25:09 +00:00
yamt db8ced8745 bump kernel version to 1.6W, because of vnode/namecache changes.
(skip 1.6V to avoid confusion.)

pointed by Love.
2003-08-01 01:24:44 +00:00
fvdl d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr 960df3c8d1 Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
fvdl 3bc458d7f1 Bump version to 1.6U, because of PCI attach args changes. 2003-06-15 23:11:25 +00:00
thorpej 34a6cf9626 Bump version to 1.6T:
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.
2003-05-10 21:12:24 +00:00
thorpej b77900c3c2 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).
2003-05-08 18:13:12 +00:00
thorpej df25ffa39a Bump to 1.6R -- mbuf and pool changes. 2003-04-09 19:28:06 +00:00
dsl eb1dfe29d9 Bump version to 1.6Q - for struct proc and struct pgrp change 2003-03-19 11:57:04 +00:00
matt 65e5548a17 Add MBUFTRACE kernel option.
Do a little mbuf rework while here.  Change all uses of MGET*(*, M_WAIT, *)
to m_get*(M_WAIT, *).  These are not performance critical and making them
call m_get saves considerable space.  Add m_clget analogue of MCLGET and
make corresponding change for M_WAIT uses.
Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE.
Begin to change netstat to use sysctl.
2003-02-26 06:31:08 +00:00
perseant b397c875ae Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now
(there are still some details to work out) but expect that to go
away soon.  To support these basic changes (creation of lfs_putpages,
lfs_gop_write, mods to lfs_balloc) several other changes were made, to
wit:

* Create a writer daemon kernel thread whose purpose is to handle page
  writes for the pagedaemon, but which also takes over some of the
  functions of lfs_check().  This thread is started the first time an
  LFS is mounted.

* Add a "flags" parameter to GOP_SIZE.  Current values are
  GOP_SIZE_READ, meaning that the call should return the size of the
  in-core version of the file, and GOP_SIZE_WRITE, meaning that it
  should return the on-disk size.  One of GOP_SIZE_READ or
  GOP_SIZE_WRITE must be specified.

* Instead of using malloc(...M_WAITOK) for everything, reserve enough
  resources to get by and use malloc(...M_NOWAIT), using the reserves if
  necessary.  Use the pool subsystem for structures small enough that
  this is feasible.  This also obsoletes LFS_THROTTLE.

And a few that are not strictly necessary:

* Moves the LFS inode extensions off onto a separately allocated
  structure; getting closer to LFS as an LKM.  "Welcome to 1.6O."

* Unified GOP_ALLOC between FFS and LFS.

* Update LFS copyright headers to correct values.

* Actually cast to unsigned in lfs_shellsort, like the comment says.

* Keep track of which segments were empty before the previous
  checkpoint; any segments that pass two checkpoints both dirty and
  empty can be summarily cleaned.  Do this.  Right now lfs_segclean
  still works, but this should be turned into an effectless
  compatibility syscall.
2003-02-17 23:48:08 +00:00
thorpej 9df2a1b394 Bump version to 1.6N; extensible malloc types. 2003-02-01 06:26:30 +00:00
thorpej 6f2d376f48 Bump kernel version to 1.6M -- nathanw_sa branch merge. (M for
multi-lwp processes? :-)
2003-01-18 10:09:03 +00:00
thorpej 42b7b023b2 Bump rev to 1.6L ... new autoconfiguration message printing routines. 2003-01-03 02:47:30 +00:00
mrg 514174fe75 disk_unbusy() change -> NetBSD 1.6K. 2002-11-01 12:49:47 +00:00
jdolecek d17511b4ea bump version to 1.6J - kqueue branch merge 2002-10-23 09:22:35 +00:00
thorpej 19eeb8d563 Bump version to 1.6I -- device parent spec change. 2002-09-26 04:12:27 +00:00
gehenna 5b709627e9 Bump version for the merge of gehenna-devsw. 2002-09-06 14:24:45 +00:00
gmcgarry a5c84b7617 Bump version for rasctl syscall. 2002-08-28 07:28:53 +00:00
briggs e046e751c9 Bump to 1.6F for PMCs (thanks for the reminder, Jason) 2002-08-07 15:29:57 +00:00
jdolecek f340b79eaf bump to 1.6E - struct proc size change on LP64 platforms 2002-07-25 21:13:40 +00:00
perseant eaa565b571 Changed size of struct inode; bump version to 1.6D. 2002-07-06 01:31:32 +00:00
thorpej 6b3c143231 Bump the OS version to 1.6C: socket buffer structure changed. 2002-07-03 19:11:41 +00:00
lukem 325dbd3d1b add reminder to check share/tmac/doc-common as well 2002-07-03 00:49:55 +00:00
perseant 983455d349 Bump version to 1.6B: changed ITIMES. 2002-06-16 00:14:13 +00:00
tv 9f4e74bc62 1.6 has branched. Welcome to "NetBSD 1.6A". 2002-05-22 03:18:19 +00:00
atatat 26500cdfcd Bump kernel version -- ERESTART has been moved and EPASSTHROUGH has
been introduced.
2002-03-17 19:43:07 +00:00
thorpej 24cd6c510c Bump version to 1.5ZB -- The pool(9) API/ABI changed. 2002-03-09 01:42:13 +00:00
jdolecek 0f36df0693 Bump version to 1.5ZA - struct file change
Only three version bumps left to beat previous release :)
2001-12-18 22:34:37 +00:00