272461 |
03-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
259073 |
07-Dec-2013 |
peter |
Hoist all the mergeinfo up to the root in preparation for enforcing merges to the root only. All MFC's were rerecorded to the root.
Going forward, if an MFC includes mergeinfo, it will need to be made to the root and committed from the root. Merges with --ignore-ancestry or diff | patch can go anywhere.
The mergeinfo in HEAD is in a bad state from years of neglect and manual tampering and this was branched into 10.x. This confuses the coalescing code and prevents it from doing its job.
Approved by: re (gjb, implicit)
|
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
243933 |
06-Dec-2012 |
eadler |
Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in share/mk/sys.mk instead.
This is part of a medium term project to permit deterministic builds of FreeBSD.
Submitted by: Erik Cederstrand <erik@cederstrand.dk> Reviewed by: imp, toolchain@ Approved by: cperciva MFC after: 2 weeks
|
227753 |
20-Nov-2011 |
theraven |
Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a load of _l suffixed versions of various standard library functions that use the global locale, making them take an explicit locale parameter. Also adds support for per-thread locales. This work was funded by the FreeBSD Foundation.
Please test any code you have that uses the C standard locale functions!
Reviewed by: das (gdtoa changes) Approved by: dim (mentor)
|
223758 |
04-Jul-2011 |
attilio |
With retirement of cpumask_t and usage of cpuset_t for representing a mask of CPUs, pc_other_cpus and pc_cpumask become highly inefficient.
Remove them and replace their usage with custom pc_cpuid magic (as, atm, pc_cpumask can be easilly represented by (1 << pc_cpuid) and pc_other_cpus by (all_cpus & ~(1 << pc_cpuid))).
This change is not targeted for MFC because of struct pcpu members removal and dependency by cpumask_t retirement.
MD review by: marcel, marius, alc Tested by: pluknet MD testing by: marcel, marius, gonzo, andreast
|
222813 |
07-Jun-2011 |
attilio |
etire the cpumask_t type and replace it with cpuset_t usage.
This is intended to fix the bug where cpu mask objects are capped to 32. MAXCPU, then, can now arbitrarely bumped to whatever value. Anyway, as long as several structures in the kernel are statically allocated and sized as MAXCPU, it is suggested to keep it as low as possible for the time being.
Technical notes on this commit itself: - More functions to handle with cpuset_t objects are introduced. The most notable are cpusetobj_ffs() (which calculates a ffs(3) for a cpuset_t object), cpusetobj_strprint() (which prepares a string representing a cpuset_t object) and cpusetobj_strscan() (which creates a valid cpuset_t starting from a string representation). - pc_cpumask and pc_other_cpus are target to be removed soon. With the moving from cpumask_t to cpuset_t they are now inefficient and not really useful. Anyway, for the time being, please note that access to pcpu datas is protected by sched_pin() in order to avoid migrating the CPU while reading more than one (possible) word - Please note that size of cpuset_t objects may differ between kernel and userland. While this is not directly related to the patch itself, it is good to understand that concept and possibly use the patch as a reference on how to deal with cpuset_t objects in userland, when accessing kernland members. - KTR_CPUMASK is changed and now is represented through a string, to be set as the example reported in NOTES.
Please additively note that no MAXCPU is bumped in this patch, but private testing has been done until to MAXCPU=128 on a real 8x8x2(htt) machine (amd64).
Please note that the FreeBSD version is not yet bumped because of the upcoming pcpu changes. However, note that this patch is not targeted for MFC.
People to thank for the time spent on this patch: - sbruno, pluknet and Nicholas Esborn (nick AT desert DOT net) tested several revision of the patches and really helped in improving stability of this work. - marius fixed several bugs in the sparc64 implementation and reviewed patches related to ktr. - jeff and jhb discussed the basic approach followed. - kib and marcel made targeted review on some specific part of the patch. - marius, art, nwhitehorn and andreast reviewed MD specific part of the patch. - marius, andreast, gonzo, nwhitehorn and jceel tested MD specific implementations of the patch. - Other people have made contributions on other patches that have been already committed and have been listed separately.
Companies that should be mentioned for having participated at several degrees: - Yahoo! for having offered the machines used for testing on big count of CPUs. - The FreeBSD Foundation for having sponsored my devsummit attendance, which has been instrumental. - Sandvine for having offered offices and infrastructure during development.
(I really hope I didn't forget anyone, if it happened I apologize in advance).
|
219557 |
12-Mar-2011 |
das |
Merge gdtoa-20110304.
|
208753 |
02-Jun-2010 |
uqs |
Add required header for isalnum(3) to quench compiler warnings
Forgotten in: r174678 Submitted by: Alexander Best alexbestms at wwu.de Approved by: das
|
207736 |
07-May-2010 |
mckusick |
Merger of the quota64 project into head.
This joint work of Dag-Erling Smørgrav and myself updates the FFS quota system to support both traditional 32-bit and new 64-bit quotas (for those of you who want to put 2+Tb quotas on your users).
By default quotas are not compiled into the kernel. To include them in your kernel configuration you need to specify:
options QUOTA # Enable FFS quotas
If you are already running with the current 32-bit quotas, they should continue to work just as they have in the past. If you wish to convert to using 64-bit quotas, use `quotacheck -c 64'; if you wish to revert from 64-bit quotas back to 32-bit quotas, use `quotacheck -c 32'.
There is a new library of functions to simplify the use of the quota system, do `man quotafile' for details. If your application is currently using the quotactl(2), it is highly recommended that you convert your application to use the quotafile interface. Note that existing binaries will continue to work.
Special thanks to John Kozubik of rsync.net for getting me interested in pursuing 64-bit quota support and for funding part of my development time on this project.
|
196916 |
07-Sep-2009 |
attilio |
Import a vendor fix for a list overrun. This has been considered as a security hole on some specialized ml, but currently the secteam@ doesn't consider that way.
Reviewed by: emaste, des Sponsored by: Sandvine Incorporated MFC after: 3 days
|
189358 |
04-Mar-2009 |
das |
Remove some unused vendor files.
|
187808 |
28-Jan-2009 |
das |
Vendor import of gdtoa 20081205.
|
182710 |
03-Sep-2008 |
das |
Make strtof() respect the current rounding mode.
|
182709 |
03-Sep-2008 |
das |
Merge gdtoa 20080831. This fixes several bugs, including an infinite loop pointed out by cognet@ that occurs when calling strtod() with a string representing a number between DBL_MAX and 2*DBL_MAX, when the rounding mode is anything other than the default.
|
182705 |
03-Sep-2008 |
das |
Fixup mergeinfo to point to the right revision.
|
182701 |
03-Sep-2008 |
das |
Initialize the merge history for contrib/gdtoa.
|
179918 |
21-Jun-2008 |
das |
Bring in the vendor's fix for a bug in strtod() whereby strtod("0xyz", &endp) resulted in endp pointing to "0xyz" instead of "xyz".
Reported by: Tony Finch <dot@dotat.at> MFC after: 1 week
|
174693 |
17-Dec-2007 |
das |
On platforms where long is 64 bits, make sure gdtoa doesn't use a long when it really wants an int.
|
174690 |
16-Dec-2007 |
das |
Fix previous commit: We should only mask the top bit in the STRTOG_NaNBits case, not the STRTOG_Normal case.
|
174679 |
16-Dec-2007 |
das |
Fix strto{f,d,ld}() so they don't return signaling NaNs. C99 says they are never supposed to, and the fact that they did could cause apps that run with unmasked FP exceptions to SIGFPE after a scanf() or strtod(). The vendor stated that he will not be fixing this, citing portability concerns.
|
174678 |
16-Dec-2007 |
das |
Some changes the vendor didn't want:
- Accept the '0x' prefix so strtod("nan(0x...)", NULL) returns the same thing as gcc's builtin nan("0x...") for such strings. - Don't return uninitialized memory. - Finish processing the string up to the closing ')' (provided it's lexically valid) for compatibility with C99 and *scanf().
|
165746 |
03-Jan-2007 |
das |
Merge local diffs.
|
165744 |
03-Jan-2007 |
das |
This commit was generated by cvs2svn to compensate for changes in r165743, which included commits to RCS files with non-trunk default branches.
|
140431 |
18-Jan-2005 |
das |
Configure gdtoa so that floating-point numbers are correctly rounded when they are printed in non-default rounding modes.
|
124704 |
19-Jan-2004 |
das |
This commit was generated by cvs2svn to compensate for changes in r124703, which included commits to RCS files with non-trunk default branches.
|
116652 |
21-Jun-2003 |
das |
Userland spinlocks bad. Sleep locks good. Use the latter for gdtoa.
Requested by: deischen (far too long ago)
|
113279 |
09-Apr-2003 |
das |
Add some missing prototypes to eliminate some warnings. These already appear without leading underscores in gdtoa.h, but this approach avoids removing that file from the vendor branch and unduly rearranging things.
Prodded by: nectar
|
113144 |
05-Apr-2003 |
das |
Add missing prototype for gdtoa().
|
112621 |
25-Mar-2003 |
das |
This commit was generated by cvs2svn to compensate for changes in r112620, which included commits to RCS files with non-trunk default branches.
|
112418 |
19-Mar-2003 |
das |
Enable locale support in strtod() and dtoa().
Noticed by: ache Reviewed by: mike (mentor)
|
112416 |
19-Mar-2003 |
das |
This commit was generated by cvs2svn to compensate for changes in r112415, which included commits to RCS files with non-trunk default branches.
|
112161 |
12-Mar-2003 |
das |
Local patches: - include extra system headers and add appropriate #defines - use a spinlock to synchronize parts of gdtoa - protect exported symbols with leading underscores
Reviewed by: bde (briefly), mike (mentor), obrien
|
112159 |
12-Mar-2003 |
das |
This commit was generated by cvs2svn to compensate for changes in r112158, which included commits to RCS files with non-trunk default branches.
|