|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
031beb4e |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0 |
|
| #
dc39a334 |
| 30-Sep-2022 |
Andrew Turner <[email protected]> |
Make #if and #endif do what people expect in *_if.m
These are used in a few places. Pass them to the generated .c and .h files to allow us to build the parts of the interface the kernel config suppo
Make #if and #endif do what people expect in *_if.m
These are used in a few places. Pass them to the generated .c and .h files to allow us to build the parts of the interface the kernel config supports.
Reviewed by: imp, jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36882
show more ...
|
|
Revision tags: release/13.1.0, release/12.3.0 |
|
| #
099919b7 |
| 26-Apr-2021 |
Warner Losh <[email protected]> |
newbus: remove support for SINGLETON
Revert rest of de8dd262c43b since it's now unused.
jhibbits@ introduced this to give powerpc MMU functions IFUNC like performance while retaining the kobj inter
newbus: remove support for SINGLETON
Revert rest of de8dd262c43b since it's now unused.
jhibbits@ introduced this to give powerpc MMU functions IFUNC like performance while retaining the kobj interface, speeding up operations 10-20%. Since there was only ever one instance of the mmu interface active at any given time, we could cache the looked up results more agressively.
powerpc migrated to using IFUNCs to get an even larger performance boost in 45b69dd63e, deleting the two files it was added to in de8dd262c43b.
However, there's few, if any, other potential applications of this to the tree today. It's now unused and undocumented. Retire it to eliminate this wart and to preclude the need to document it. Should a simmilar case arise in the future, the code is in git...
Discusssed with: jhibbits@ Reviewed by: jhb@ Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D29997
show more ...
|
|
Revision tags: release/13.0.0, release/12.2.0, release/11.4.0 |
|
| #
de8dd262 |
| 18-Jan-2020 |
Justin Hibbits <[email protected]> |
Add a 'SINGLETON' directive to kobj interface definition
Summary: This makes the interface described in the definition file act like a pseudo-IFUNC service, by caching the found method locally.
App
Add a 'SINGLETON' directive to kobj interface definition
Summary: This makes the interface described in the definition file act like a pseudo-IFUNC service, by caching the found method locally.
Applying this to the PowerPC MMU definitions, it yields a significant (15-20%) performance improvement, seen in both a 'make buildworld' and a parallel build of LLVM, on a POWER9 system.
Reviewed By: imp Differential Revision: https://reviews.freebsd.org/D23245
show more ...
|
|
Revision tags: release/12.1.0, release/11.3.0 |
|
| #
52bcb118 |
| 08-May-2019 |
Ed Maste <[email protected]> |
Avoid literal @generated tag in file-generating scripts
We don't want the generator itself tagged as a generated file.
Reviewed by: cem Sponsored by: The FreeBSD Foundation Differential Revision: h
Avoid literal @generated tag in file-generating scripts
We don't want the generator itself tagged as a generated file.
Reviewed by: cem Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20182
show more ...
|
| #
6e0e532a |
| 07-May-2019 |
Ed Maste <[email protected]> |
Use @generated tag in generated files
Multiple tools use @generated to identify generated files (for example, in a review Phabricator will by default hide diffs in generated files). Use the @generat
Use @generated tag in generated files
Multiple tools use @generated to identify generated files (for example, in a review Phabricator will by default hide diffs in generated files). Use the @generated tag in makeobjops.awk and vnode_if.awk as we've done for other generated files.
Sponsored by: The FreeBSD Foundation
show more ...
|
|
Revision tags: release/12.0.0, release/11.2.0 |
|
| #
a21a2da5 |
| 31-Dec-2017 |
Colin Percival <[email protected]> |
Teach makeobjops.awk to accept PROLOG and EPILOG blocks before METHOD and STATICMETHOD declarations; that code will be inserted into the dispatch function before and after the method call.
Use this
Teach makeobjops.awk to accept PROLOG and EPILOG blocks before METHOD and STATICMETHOD declarations; that code will be inserted into the dispatch function before and after the method call.
Use this functionality and the TSLOG framework to record DEVICE_ATTACH and DEVICE_PROBE entry/exit timestamps.
show more ...
|
| #
51369649 |
| 20-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for
sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
fbbd9655 |
| 28-Feb-2017 |
Warner Losh <[email protected]> |
Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is
Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <[email protected]> Pull Request: https://github.com/freebsd/freebsd/pull/96
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0 |
|
| #
5cac9fa0 |
| 09-Nov-2011 |
Ed Schouten <[email protected]> |
Restore the comment that I removed by accident.
The comment still applies to this block of code.
|
| #
d09ebcec |
| 09-Nov-2011 |
Ed Schouten <[email protected]> |
Simplify the code emitted by makeobjops.awk slightly.
Just place the default kobj_method inside the kobjop_desc structure. There's no need to give these kobj_methods their own symbol. This shaves of
Simplify the code emitted by makeobjops.awk slightly.
Just place the default kobj_method inside the kobjop_desc structure. There's no need to give these kobj_methods their own symbol. This shaves off 10 KB of a GENERIC kernel binary.
show more ...
|
| #
3f3f6bc3 |
| 08-Nov-2011 |
Ed Schouten <[email protected]> |
Make kobj_methods constant.
These structures hold no information that is modified during runtime. By marking this constant, we see approximately 600 symbols become read-only (amd64 GENERIC). While t
Make kobj_methods constant.
These structures hold no information that is modified during runtime. By marking this constant, we see approximately 600 symbols become read-only (amd64 GENERIC). While there, also mark the kobj_method structures generated by makeobjops.awk static. They are only referenced by the kobjop_desc structures within the same file.
Before:
$ ls -l kernel -rwxr-xr-x 1 ed wheel 15937309 Nov 8 16:29 kernel* $ size kernel text data bss dec hex filename 12260854 1358468 2848832 16468154 fb48ba kernel $ nm kernel | fgrep -c ' r ' 8240
After:
$ ls -l kernel -rwxr-xr-x 1 ed wheel 15922469 Nov 8 16:25 kernel* $ size kernel text data bss dec hex filename 12302869 1302660 2848704 16454233 fb1259 kernel $ nm kernel | fgrep -c ' r ' 8838
show more ...
|
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0 |
|
| #
97aa4d98 |
| 22-Oct-2009 |
Ed Maste <[email protected]> |
Rename default to default_function, for compatibility with GNU awk. (For cross-compiling out-of-tree kernel modules, for example.)
|
|
Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0 |
|
| #
60727d8b |
| 07-Jan-2005 |
Warner Losh <[email protected]> |
/* -> /*- for license, minor formatting changes
|
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
| #
8ff7da8c |
| 11-Jul-2004 |
Doug Rabson <[email protected]> |
Pass doxygen doc comments through to the output.
|
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
| #
82c6e879 |
| 07-Apr-2004 |
Warner Losh <[email protected]> |
Remove advertising clause from University of California Regent's license, per letter dated July 22, 1999.
Approved by: core
|
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
| #
6c021c72 |
| 16-Oct-2003 |
Doug Rabson <[email protected]> |
Changes for new SMP-safe kobj method dispatch algorithm.
|
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs |
|
| #
1c8deadc |
| 20-Aug-2002 |
David E. O'Brien <[email protected]> |
Use mv -f. Otherwise if you accidently build as root, and then as a user, it keeps asking you if you want to overwrite it or not.
Submitted by: peter
|
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
| #
dfbf15ee |
| 01-May-2002 |
David E. O'Brien <[email protected]> |
Awk version of makeobjops.PL. Note the invocation ordering is slightly different: awk -f makeobjops.awk foo.m -ch
Submitted by: Oliver Fromme <[email protected]>
|