CVS log for src/sys/amd64/include/param.h
Up to [FreeBSD] / src / sys / amd64 / include
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.37.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.37.2.1: preferred, colored
Changes since revision 1.37.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith Copy head to stable/9 as part of 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Jul 19 13:00:30 2011 UTC (6 months, 3 weeks ago) by attilio
Branches: MAIN
CVS tags: RELENG_9_BP, HEAD
Branch point for: RELENG_9
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -1 lines
SVN rev 224217 on 2011-07-19 13:00:30Z by attilio Bump MAXCPU for amd64, ia64 and XLP mips appropriately. From now on, default values for FreeBSD will be 64 maxiumum supported CPUs on amd64 and ia64 and 128 for XLP. All the other architectures seem already capped appropriately (with the exception of sparc64 which needs further support on jalapeno flavour). Bump __FreeBSD_version in order to reflect KBI/KPI brekage introduced during the infrastructure cleanup for supporting MAXCPU > 32. This covers cpumask_t retiral too. The switch is considered completed at the present time, so for whatever bug you may experience that is reconducible to that area, please report immediately. Requested by: marcel, jchandra Tested by: pluknet, sbruno Approved by: re (kib)
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jul 19 00:37:24 2011 UTC (6 months, 3 weeks ago) by attilio
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -0 lines
SVN rev 224207 on 2011-07-19 00:37:24Z by attilio Add the possibility to specify from kernel configs MAXCPU value. This patch is going to help in cases like mips flavours where you want a more granular support on MAXCPU. No MFC is previewed for this patch. Tested by: pluknet Approved by: re (kib)
Revision 1.20.2.6.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.20.2.6: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.6: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit)
Revision 1.30.2.3.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.30.2.3: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.3: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit)
Revision 1.30.2.3: download - view: text, markup, annotated - select for diffs
Thu Aug 5 08:57:53 2010 UTC (18 months ago) by kib
Branches: RELENG_8
CVS tags: RELENG_8_2_BP
Branch point for: RELENG_8_2
Diff to: previous 1.30.2.2: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.2: +3 -0 lines
SVN rev 210855 on 2010-08-05 08:57:53Z by kib MFC r210369: When compat32 binary asks for the value of hw.machine_arch, report the name of 32bit sibling architecture instead of the host one.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Jul 22 09:13:49 2010 UTC (18 months, 2 weeks ago) by kib
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -0 lines
SVN rev 210369 on 2010-07-22 09:13:49Z by kib When compat32 binary asks for the value of hw.machine_arch, report the name of 32bit sibling architecture instead of the host one. Do the same for hw.machine on amd64. Add a safety belt debug.adaptive_machine_arch sysctl, to turn the substitution off. Reviewed by: jhb, nwhitehorn MFC after: 2 weeks
Revision 1.30.2.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 3 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.30.2.2: preferred, colored; next MAIN 1.30.2.3: preferred, colored
Changes since revision 1.30.2.2: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit)
Revision 1.20.2.6: download - view: text, markup, annotated - select for diffs
Wed Mar 10 15:47:33 2010 UTC (23 months ago) by jhb
Branches: RELENG_7
CVS tags: RELENG_7_4_BP
Branch point for: RELENG_7_4
Diff to: previous 1.20.2.5: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.5: +1 -1 lines
SVN rev 204956 on 2010-03-10 15:47:33Z by jhb Revert the change to increase MAXCPU to 32 on amd64 and i386. MAXCPU is part of the de facto KBI currently.
Revision 1.20.2.5: download - view: text, markup, annotated - select for diffs
Tue Mar 9 22:10:11 2010 UTC (23 months ago) by jhb
Branches: RELENG_7
Diff to: previous 1.20.2.4: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.4: +1 -1 lines
SVN rev 204931 on 2010-03-09 22:10:11Z by jhb MFC 183525: Bump MAXCPU to 32 now that 32 CPU x86 systems exist.
Revision 1.20.2.4.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (23 months, 4 weeks ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.20.2.4: preferred, colored; next MAIN 1.20.2.5: preferred, colored
Changes since revision 1.20.2.4: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit)
Revision 1.20.2.4: download - view: text, markup, annotated - select for diffs
Thu Dec 17 07:36:40 2009 UTC (2 years, 1 month ago) by marius
Branches: RELENG_7
CVS tags: RELENG_7_3_BP
Branch point for: RELENG_7_3
Diff to: previous 1.20.2.3: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.3: +7 -10 lines
SVN rev 200625 on 2009-12-17 07:36:40Z by marius MFC: r195376 Cleanup ALIGNED_POINTER: o add to platforms where it was missing (arm, i386, powerpc, sparc64, sun4v) o define as "1" on amd64 and i386 where there is no restriction o make the type returned consistent with ALIGN o remove _ALIGNED_POINTER o make associated comments consistent Reviewed by: bde, imp, marcel Approved by: sam (MFC to stable/7)
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Nov 16 10:53:04 2009 UTC (2 years, 2 months ago) by phk
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -1 lines
SVN rev 199319 on 2009-11-16 10:53:04Z by phk Uppercase the UL suffix on a constant, so Flexelint doesn't worry that 'u1' might have been intended. No, that does not make sense and yes I have told them.
Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Sun Nov 1 08:45:44 2009 UTC (2 years, 3 months ago) by alc
Branches: RELENG_7
Diff to: previous 1.20.2.2: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.2: +2 -0 lines
SVN rev 198742 on 2009-11-01 08:45:44Z by alc
MFC r197316
Add a new sysctl for reporting all of the supported page sizes.
Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Sat Oct 31 18:54:26 2009 UTC (2 years, 3 months ago) by alc
Branches: RELENG_8
CVS tags: RELENG_8_1_BP
Branch point for: RELENG_8_1
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.1: +2 -0 lines
SVN rev 198728 on 2009-10-31 18:54:26Z by alc MFC r197316 Add a new sysctl for reporting all of the supported page sizes.
Revision 1.30.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.30.2.1: preferred, colored; next MAIN 1.30.2.2: preferred, colored
Changes since revision 1.30.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure. Approved by: re (implicit)
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Sep 18 17:04:57 2009 UTC (2 years, 4 months ago) by alc
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -0 lines
SVN rev 197316 on 2009-09-18 17:04:57Z by alc Add a new sysctl for reporting all of the supported page sizes. Reviewed by: jhb MFC after: 3 weeks
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Sep 8 20:45:40 2009 UTC (2 years, 5 months ago) by phk
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -14 lines
SVN rev 196994 on 2009-09-08 20:45:40Z by phk Get rid of the _NO_NAMESPACE_POLLUTION kludge by creating an architecture specific include file containing the _ALIGN* stuff which <sys/socket.h> needs.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Sep 8 12:59:56 2009 UTC (2 years, 5 months ago) by phk
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4 lines
SVN rev 196968 on 2009-09-08 12:59:56Z by phk Move multi-include protection back up to the top of the file and name after the physical file rather than the aliased name.
Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 4 05:06:15 2009 UTC (2 years, 5 months ago) by alc
Branches: RELENG_7
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.1: +0 -9 lines
SVN rev 196808 on 2009-09-04 05:06:15Z by alc MFC r193729 Now that amd64's kernel map is 512GB (r192469), there is no reason to cap its buffer map at 400MB.
Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith Copy head to stable/8 as part of 8.0 Release cycle. Approved by: re (Implicit)
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jul 5 17:45:48 2009 UTC (2 years, 7 months ago) by sam
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +7 -10 lines
SVN rev 195376 on 2009-07-05 17:45:48Z by sam Cleanup ALIGNED_POINTER: o add to platforms where it was missing (arm, i386, powerpc, sparc64, sun4v) o define as "1" on amd64 and i386 where there is no restriction o make the type returned consistent with ALIGN o remove _ALIGNED_POINTER o make associated comments consistent Reviewed by: bde, imp, marcel Approved by: re (kensmith)
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Jun 8 16:43:40 2009 UTC (2 years, 8 months ago) by alc
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +0 -9 lines
SVN rev 193729 on 2009-06-08 16:43:40Z by alc Now that amd64's kernel map is 512GB (SVN rev 192216), there is no reason to cap its buffer map at 1GB. MFC after: 6 weeks
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon May 18 19:33:59 2009 UTC (2 years, 8 months ago) by jhb
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -1 lines
SVN rev 192331 on 2009-05-18 19:33:59Z by jhb Bump CACHE_LINE_SIZE to 128 for x86. Intel's manuals explicitly recommend using 128 byte alignment for locks. (See IA-32 SDM Vol 3A 7.11.6.7)
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Apr 20 12:59:23 2009 UTC (2 years, 9 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +0 -2 lines
SVN rev 191309 on 2009-04-20 12:59:23Z by rwatson Don't conditionally define CACHE_LINE_SHIFT, as we anticipate sizing a fair number of static data structures, making this an unlikely option to try to change without also changing source code. [1] Change default cache line size on ia64, sparc64, and sun4v to 128 bytes, as this was what rtld-elf was already using on those platforms. [2] Suggested by: bde [1], jhb [2] MFC after: 2 weeks
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Apr 19 21:26:36 2009 UTC (2 years, 9 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -0 lines
SVN rev 191278 on 2009-04-19 21:26:36Z by rwatson Add description and cautionary note regarding CACHE_LINE_SIZE. MFC after: 2 weeks Suggested by: alc
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Apr 19 20:19:13 2009 UTC (2 years, 9 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -0 lines
SVN rev 191276 on 2009-04-19 20:19:13Z by rwatson For each architecture, define CACHE_LINE_SHIFT and a derived CACHE_LINE_SIZE constant. These constants are intended to over-estimate the cache line size, and be used at compile-time when a run-time tuning alternative isn't appropriate or available. Defaults for all architectures are 64 bytes, except powerpc where it is 128 bytes (used on G5 systems). MFC after: 2 weeks Discussed on: arch@
Revision 1.20.2.1.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.20.2.1: preferred, colored; next MAIN 1.20.2.2: preferred, colored
Changes since revision 1.20.2.1: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE. Approved by: re (implicit)
Revision 1.20.2.1.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.20.2.1: preferred, colored; next MAIN 1.20.2.2: preferred, colored
Changes since revision 1.20.2.1: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.18.12.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit)
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Oct 1 21:59:04 2008 UTC (3 years, 4 months ago) by jhb
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -1 lines
SVN rev 183525 on 2008-10-01 21:59:04Z by jhb Bump MAXCPU to 32 now that 32 CPU x86 systems exist. Tested by: rwatson, mdtansca Approved by: peter
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 27 04:41:15 2008 UTC (3 years, 5 months ago) by jb
Branches: RELENG_7
CVS tags: RELENG_7_2_BP, RELENG_7_1_BP
Branch point for: RELENG_7_2, RELENG_7_1
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -1 lines
SVN rev 182231 on 2008-08-27 04:41:15Z by jb MFC DTrace support. Note that this defaults the 'make buildkernel' to build with CTF data so that the release kernel and modules are DTrace-able.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Aug 1 04:55:38 2008 UTC (3 years, 6 months ago) by alc
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -0 lines
SVN rev 181112 on 2008-08-01 04:55:38Z by alc Enhance pmap_change_attr() with the ability to demote 1GB page mappings.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Jul 19 23:42:38 2008 UTC (3 years, 6 months ago) by alc
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -1 lines
SVN rev 180623 on 2008-07-19 23:42:38Z by alc Increase the ceiling on the size of the buffer map.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Mar 27 05:03:24 2008 UTC (3 years, 10 months ago) by jb
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -1 lines
When building a kernel module, define MAXCPU the same as SMP so that modules work with and without SMP.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Jan 9 06:05:56 2006 UTC (6 years, 1 month ago) by imp
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Branch point for: RELENG_7
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -0 lines
By popular demand, move __HAVE_ACPI and __PCI_REROUTE_INTERRUPT into param.h. Per request, I've placed these just after the _NO_NAMESPACE_POLLUTION ifndef. I've not renamed anything yet, but may since we don't need the __. Submitted by: bde, jhb, scottl, many others.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Dec 6 13:27:20 2005 UTC (6 years, 2 months ago) by ru
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +0 -7 lines
Drop _MACHINE_ARCH and _MACHINE defines (not to be confused with MACHINE_ARCH and MACHINE). Their purpose was to be able to test in cpp(1), but cpp(1) only understands integer type expressions. Using such unsupported expressions introduced a number of subtle bugs, which were discovered by compiling with -Wundef.
Revision 1.13.2.5: download - view: text, markup, annotated - select for diffs
Mon Jul 11 17:16:18 2005 UTC (6 years, 7 months ago) by jhb
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5
Diff to: previous 1.13.2.4: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.4: +1 -1 lines
MFC: Increase MAXCPU to 16 for SMP kernels to cope with APIC IDs >= 8.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jun 29 15:13:25 2005 UTC (6 years, 7 months ago) by jhb
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0, RELENG_6
Branch point for: RELENG_6_4
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -1 lines
Increase MAXCPU to 16 in SMP kernels so that APIC IDs from 0 to 15 are allowed for CPUs. Tested by: amd64 at cybernetwork dot org Approved by: re (scottl) MFC after: 1 week
Revision 1.13.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 14 08:20:27 2005 UTC (6 years, 11 months ago) by obrien
Branches: RELENG_5
CVS tags: RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4
Diff to: previous 1.13.2.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.3: +0 -1 lines
White space sync with HEAD.
Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Sat Feb 5 01:01:53 2005 UTC (7 years ago) by das
Branches: RELENG_5
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.2: +0 -1 lines
MFC: 2004-11-20 02:29:50 UTC Remove UAREA_PAGES.
Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Sun Jan 30 00:59:13 2005 UTC (7 years ago) by imp
Branches: RELENG_5
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +1 -1 lines
MFC: /*- and my license changes for sys/[a-d]*
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jan 21 05:56:41 2005 UTC (7 years ago) by peter
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +0 -1 lines
MFi386: whitespace, copyright header, etc updates
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jan 5 20:17:20 2005 UTC (7 years, 1 month ago) by imp
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -1 lines
Begin all license/copyright comments with /*-
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Nov 20 02:29:49 2004 UTC (7 years, 2 months ago) by das
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +0 -1 lines
Remove UAREA_PAGES. Reviewed by: arch@
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 10 00:04:16 2004 UTC (7 years, 5 months ago) by scottl
Branches: RELENG_5
CVS tags: RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +0 -5 lines
MFC: Turn PREEMPTION into a kernel option. It is NOT enabled at this time. Approved by: re
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Sep 2 18:59:14 2004 UTC (7 years, 5 months ago) by scottl
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +0 -5 lines
Turn PREEMPTION into a kernel option. Make sure that it's defined if FULL_PREEMPTION is defined. Add a runtime warning to ULE if PREEMPTION is enabled (code inspired by the PREEMPTION warning in kern_switch.c). This is a possible MT5 candidate.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Aug 1 14:31:45 2004 UTC (7 years, 6 months ago) by scottl
Branches: MAIN
CVS tags: RELENG_5_BP
Branch point for: RELENG_5
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -0 lines
Turn off PREEMPTION by default while it gets debugged. It's been causing 4 weeks of problems including deadlocks and instant panics. Note that the real bugs are likely in the scheduler.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jul 2 20:21:41 2004 UTC (7 years, 7 months ago) by jhb
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -0 lines
Implement preemption of kernel threads natively in the scheduler rather than as one-off hacks in various other parts of the kernel: - Add a function maybe_preempt() that is called from sched_add() to determine if a thread about to be added to a run queue should be preempted to directly. If it is not safe to preempt or if the new thread does not have a high enough priority, then the function returns false and sched_add() adds the thread to the run queue. If the thread should be preempted to but the current thread is in a nested critical section, then the flag TDF_OWEPREEMPT is set and the thread is added to the run queue. Otherwise, mi_switch() is called immediately and the thread is never added to the run queue since it is switch to directly. When exiting an outermost critical section, if TDF_OWEPREEMPT is set, then clear it and call mi_switch() to perform the deferred preemption. - Remove explicit preemption from ithread_schedule() as calling setrunqueue() now does all the correct work. This also removes the do_switch argument from ithread_schedule(). - Do not use the manual preemption code in mtx_unlock if the architecture supports native preemption. - Don't call mi_switch() in a loop during shutdown to give ithreads a chance to run if the architecture supports native preemption since the ithreads will just preempt DELAY(). - Don't call mi_switch() from the page zeroing idle thread for architectures that support native preemption as it is unnecessary. - Native preemption is enabled on the same archs that supported ithread preemption, namely alpha, i386, and amd64. This change should largely be a NOP for the default case as committed except that we will do fewer context switches in a few cases and will avoid the run queues completely when preempting. Approved by: scottl (with his re@ hat)
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jun 7 23:47:59 2004 UTC (7 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Be a little more consistent in the naming of the PML4 defines.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Dec 20 20:03:10 2003 UTC (8 years, 1 month ago) by alc
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -1 lines
Since we have additional kernel virtual address space, allow the buffer cache to grow to 400M bytes.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Nov 17 08:58:14 2003 UTC (8 years, 2 months ago) by peter
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -0 lines
Initial landing of SMP support for FreeBSD/amd64. - This is heavily derived from John Baldwin's apic/pci cleanup on i386. - I have completely rewritten or drastically cleaned up some other parts. (in particular, bootstrap) - This is still a WIP. It seems that there are some highly bogus bioses on nVidia nForce3-150 boards. I can't stress how broken these boards are. I have a workaround in mind, but right now the Asus SK8N is broken. The Gigabyte K8NPro (nVidia based) is also mind-numbingly hosed. - Most of my testing has been with SCHED_ULE. SCHED_4BSD works. - the apic and acpi components are 'standard'. - If you have an nVidia nForce3-150 board, you are stuck with 'device atpic' in addition, because they somehow managed to forget to connect the 8254 timer to the apic, even though its in the same silicon! ARGH! This directly violates the ACPI spec.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jul 31 01:27:18 2003 UTC (8 years, 6 months ago) by peter
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -0 lines
KSTACK_PAGES is a global option.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jun 14 23:23:53 2003 UTC (8 years, 7 months ago) by alc
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -1 lines
Migrate the thread stack management functions from the machine-dependent to the machine-independent parts of the VM. At the same time, this introduces vm object locking for the non-i386 platforms. Two details: 1. KSTACK_GUARD has been removed in favor of KSTACK_GUARD_PAGES. The different machine-dependent implementations used various combinations of KSTACK_GUARD and KSTACK_GUARD_PAGES. To disable guard page, set KSTACK_GUARD_PAGES to 0. 2. Remove the (unnecessary) clearing of PG_ZERO in vm_thread_new. In 5.x, (but not 4.x,) PG_ZERO can only be set if VM_ALLOC_ZERO is passed to vm_page_alloc() or vm_page_grab().
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:15:13 2003 UTC (8 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -1 lines
Fix ALIGNED_POINTER(). sizeof((u_int32_t)) is not legal C.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri May 23 05:04:54 2003 UTC (8 years, 8 months ago) by peter
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -7 lines
Major pmap rework to take advantage of the larger address space on amd64 systems. Of note: - Implement a direct mapped region using 2MB pages. This eliminates the need for temporary mappings when getting ptes. This supports up to 512GB of physical memory for now. This should be enough for a while. - Implement a 4-tier page table system. Most of the infrastructure is there for 128TB of userland virtual address space, but only 512GB is presently enabled due to a mystery bug somewhere. The design of this was heavily inspired by the alpha pmap.c. - The kernel is moved into the negative address space(!). - The kernel has 2GB of KVM available. - Provide a uma memory allocator to use the direct map region to take advantage of the 2MB TLBs. - Fixed some assumptions in the bus_space macros about the ability to fit virtual addresses in an 'int'. Notable missing things: - pmap_growkernel() should be able to grow to 512GB of KVM by expanding downwards below kernbase. The kernel must be at the top 2GB of the negative address space because of gcc code generation strategies. - need to fix the >512GB user vm code. Approved by: re (blanket)
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu May 1 01:05:23 2003 UTC (8 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +48 -17 lines
Commit MD parts of a loosely functional AMD64 port. This is based on a heavily stripped down FreeBSD/i386 (brutally stripped down actually) to attempt to get a stable base to start from. There is a lot missing still. Worth noting: - The kernel runs at 1GB in order to cheat with the pmap code. pmap uses a variation of the PAE code in order to avoid having to worry about 4 levels of page tables yet. - It boots in 64 bit "long mode" with a tiny trampoline embedded in the i386 loader. This simplifies locore.s greatly. - There are still quite a few fragments of i386-specific code that have not been translated yet, and some that I cheated and wrote dumb C versions of (bcopy etc). - It has both int 0x80 for syscalls (but using registers for argument passing, as is native on the amd64 ABI), and the 'syscall' instruction for syscalls. int 0x80 preserves all registers, 'syscall' does not. - I have tried to minimize looking at the NetBSD code, except in a couple of places (eg: to find which register they use to replace the trashed %rcx register in the syscall instruction). As a result, there is not a lot of similarity. I did look at NetBSD a few times while debugging to get some ideas about what I might have done wrong in my first attempt.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Apr 30 22:51:59 2003 UTC (8 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -8 lines
Repocopy from x86_64/... to amd64/... Rename visible x86_64 references to amd64. Kill MID_MACHINE, its a.out specific, the only platform that supports it is i386. All of the other platforms should remove it too.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Sep 17 01:48:59 2002 UTC (9 years, 4 months ago) by peter
Branches: MAIN
CVS tags: old_RELENG_5_0_BP, old_RELENG_5_0_0_RELEASE, old_RELENG_5_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -7 lines
Initiate deorbit burn for the i386-only a.out related support. Moves are under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jun 30 07:42:36 2002 UTC (9 years, 7 months ago) by obrien
Branches: MAIN
This is the start of the FreeBSD/x86_64 kernel.
