Commit Graph

  • 3731931529 Powerpc Fixes (part 1): - Enable builds for powerpc ISA type. - Add DIV_ROUND_UP and roundup macros if unavailable. - Cast 64-bit values for %lld format string to (long long) to quiet compile warning. Brian Behlendorf 2009-05-20 12:23:24 -07:00
  • fe4573928f SLES10 Fixes (part 5): - Fix incorrect mapping for spl_device_create()->class_device_create() which is the prefered API for 2.6.13 to 2.6.17 based kernels. Brian Behlendorf 2009-05-20 11:54:40 -07:00
  • a093c6a499 SLES10 Fixes (part 4): - Configure check for SLES specific API change to vfs_unlink() and vfs_rename() which added a 'struct vfsmount *' argument. This was for something called the linux-security-module, but it appears that it was never adopted upstream. Brian Behlendorf 2009-05-20 11:31:55 -07:00
  • 6c9433c150 SLES10 Fixes (part 3): - Configure check for mutex_lock_nested(). This function was introduced as part of the mutex validator in 2.6.18, but if it's unavailable then it's safe to fallback to a plain mutex_lock(). Brian Behlendorf 2009-05-20 10:56:13 -07:00
  • 96dded3844 SLES10 Fixes (part 2): - Configure check, the div64_64() function was renamed to div64_u64() as of 2.6.26. - Configure check, the global_page_state() fuction was introduced in 2.6.18 kernels. The earlier 2.6.16 based SLES10 must not try and use it, thankfully get_zone_counts() is still available. - To simplify debugging poison all symbols aquired dynamically using spl_kallsyms_lookup_name() with SYMBOL_POISON. - Add console messages when the user mode helpers fail. - spl_kmem_init_globals() use bit shifts instead of division. - When the monotonic clock is unavailable __gethrtime() must perform the HZ division as an 'unsigned long long' because the SPL only implements __udivdi3(), and not __divdi3() for 'long long' division on 32-bit arches. Brian Behlendorf 2009-05-20 10:08:37 -07:00
  • bf338d8d09 SLES10 Fixes (part 1): - Exclude -obj when detecting installed kernel source. - Detect -obj directory for out of tree kernel builds. - Allow kernel build system to set CC to ensure -m64 is set properly. This is an issue on 64-bit SLES systems which by default always build 32-bit binaries (unlike RHEL/Fedora which default to 64-bit) Brian Behlendorf 2009-05-19 11:42:39 -07:00
  • f8b2932a43 Prep for spl-0.4.3 tag. Brian Behlendorf 2009-03-20 14:48:30 -07:00
  • 759dfe7d43 Add list_move_tail() function. Brian Behlendorf 2009-03-19 21:40:07 -07:00
  • c388a3ab26 Remove useless EOL white space padding from splat -l command. Brian Behlendorf 2009-03-18 11:56:42 -07:00
  • f250d90b5f Fix vmem leak in kmem_cache_test (missing splat_kmem_cache_test_kcp_free()) Brian Behlendorf 2009-03-18 11:56:00 -07:00
  • 0cbaeb117a Allow spl_config.h to be included by dependant packages Brian Behlendorf 2009-03-17 14:55:59 -07:00
  • e11d6c5f50 FC10/i686 Compatibility Update (2.6.27.19-170.2.35.fc10.i686) Brian Behlendorf 2009-03-17 12:16:31 -07:00
  • 7257ec4185 Fix taskq_wait() not waiting bug Brian Behlendorf 2009-03-15 15:13:49 -07:00
  • 5b5f568503 Mutex tests updated to use task queues instead of work queues. Brian Behlendorf 2009-03-15 15:05:38 -07:00
  • 8123ac4f0d Added SPL_AC_5ARGS_DEVICE_CREATE autoconf configure check Brian Behlendorf 2009-03-13 13:38:43 -07:00
  • a0b5ae8aca Fix off-by-1 truncation of hw_serial when converting from integer to string, when writing to /proc/sys/kernel/spl/spl_hostid. Fixes hostid mismatch which leads to assertion failure when the hostid/hw_serial is a 10-character decimal number: Ricardo M. Correia 2009-03-12 21:23:34 +00:00
  • 6c33eb8162 Minor bug fix in XDR code introduced in last minute change before landing. Ricardo M. Correia 2009-03-11 05:39:03 +00:00
  • f48b61938a Add XDR implementation Ricardo M. Correia 2009-03-10 19:51:45 +00:00
  • 0c617c9a63 Build system cleanup Brian Behlendorf 2009-03-10 10:57:52 -07:00
  • d4326403de Build System Default Kernel Brian Behlendorf 2009-03-09 16:50:37 -07:00
  • c5f704607b Build system and packaging (RPM support) Brian Behlendorf 2009-03-05 09:08:07 -08:00
  • 32f74c5280 XXX: Temporarily disable vmem_size(). Ricardo M. Correia 2009-02-26 18:05:39 +00:00
  • 04fa349d69 Merge branch 'kallsyms' Brian Behlendorf 2009-03-04 10:19:41 -08:00
  • d1ff2312b0 Linux VM Integration Cleanup Brian Behlendorf 2009-02-25 13:20:40 -08:00
  • eb7c7f44e8 Changed ptob()/btop() mult/div into bit shifts. Added necessary include for PAGE_SHIFT. Ricardo M. Correia 2009-02-25 21:06:15 +00:00
  • 7819a92a9b Added btop() and moved ptob() to include/sys/param.h. Ricardo M. Correia 2009-02-22 03:05:40 +00:00
  • 4327ac3ff9 Changed z_compress_level() and z_uncompress() prototypes to match the ones in Solaris. Fixes compilation warning. Ricardo M. Correia 2009-02-22 03:35:51 +00:00
  • a1cf80b493 Matching kmem_free() fix for use after free case. Brian Behlendorf 2009-02-19 12:28:10 -08:00
  • 99639e4a13 Add zone_get_hostid() function Brian Behlendorf 2009-02-19 11:26:17 -08:00
  • d164b20935 Rebase master to b108 Brian Behlendorf 2009-02-18 12:51:31 -08:00
  • 63a93055fb Coverity 9657: Resource Leak Brian Behlendorf 2009-02-18 10:16:26 -08:00
  • 02c7f16494 Coverity 9656: Forward NULL Brian Behlendorf 2009-02-18 10:09:01 -08:00
  • 1315c88437 Coverity 9649, 9650, 9651: Uninit Brian Behlendorf 2009-02-18 09:48:07 -08:00
  • bb01879ebe Coverity 9654, 9654: Use After Free Brian Behlendorf 2009-02-17 16:41:08 -08:00
  • 15dc8b072e Coverity 9652, 9653: No Effect Brian Behlendorf 2009-02-17 16:30:58 -08:00
  • 014b1d6f54 Coverity 9641: Buffer Size Brian Behlendorf 2009-02-17 16:24:26 -08:00
  • 9b1b8e4c24 kmem slab magazine ageing deadlock Brian Behlendorf 2009-02-17 15:52:18 -08:00
  • 1a944a7d0b kmem slab fixes Brian Behlendorf 2009-02-13 10:28:55 -08:00
  • fce5ef8306 Build system update Brian Behlendorf 2009-02-12 15:04:36 -08:00
  • f6c5d4ff88 Build system update Brian Behlendorf 2009-02-12 14:45:22 -08:00
  • 37db7d8cf9 kmem slab fixes Brian Behlendorf 2009-02-12 13:32:10 -08:00
  • f500ccff35 Minor bug fix due to MAXOFFSET_T constant being too large on 32-bit systems. Ricardo M. Correia 2009-02-07 00:53:39 +00:00
  • e50ad76da5 Prep for 0.4.2 tag Brian Behlendorf 2009-02-05 13:34:51 -08:00
  • 4ab13d3b5c Additional Linux VM integration Brian Behlendorf 2009-02-05 12:26:34 -08:00
  • 36b313dacf Linux VM integration / device special files Brian Behlendorf 2009-02-04 15:15:41 -08:00
  • 31a033ecd4 2.6.27+ portability changes Brian Behlendorf 2009-02-02 15:12:30 -08:00
  • f220894e1f Make the number of system taskq threads based on the node of cores in the node, as is done for most linux system tasks Brian Behlendorf 2009-02-02 08:53:53 -08:00
  • 10a4be0f03 Update thread tests to have max_time Brian Behlendorf 2009-01-30 21:24:42 -08:00
  • 416bae036b Add new workqueue header Brian Behlendorf 2009-01-30 21:11:42 -08:00
  • ea3e6ca9e5 kmem_cache hardening and performance improvements Brian Behlendorf 2009-01-30 20:54:49 -08:00
  • c65e71073f Refresh type in topgit git://* reference Brian Behlendorf 2009-01-26 21:58:32 -08:00
  • 34e71c9e97 Remove debug check was was accidentally left in place an prevent the slab cache from working on systems with >4 cores Brian Behlendorf 2009-01-26 20:10:23 -08:00
  • 0f233eac33 Pull the blkdev header in to the sunldi for some useful structure definitions and helper functions Brian Behlendorf 2009-01-26 16:47:49 -08:00
  • 48e0606a52 Implement kmem cache alignment argument Brian Behlendorf 2009-01-26 09:02:04 -08:00
  • e4f3ea278e Remove stray ` from macro Brian Behlendorf 2009-01-23 08:59:11 -08:00
  • 3f4126739d Sleep uninteruptibly, waking up early may result in a crash Brian Behlendorf 2009-01-22 09:58:48 -08:00
  • 511176398c Update debug.h to standardize VERIFY3_IMPL error messages in debug and non-debug mode Brian Behlendorf 2009-01-22 09:41:47 -08:00
  • 064bbffb63 Prep for 0.4.1 tag Brian Behlendorf 2009-01-21 11:46:02 -08:00
  • 4710ede86a Add GIT to master Brian Behlendorf 2009-01-20 15:43:44 -08:00
  • b6b2acc66e Minor fix for compiler warning when KMEM_TRACKING is enabled Brian Behlendorf 2009-01-20 13:39:35 -08:00
  • ae3b87f908 KMEM_TRACKING turned up a missing free in list test 6, fix the leak Brian Behlendorf 2009-01-20 12:47:53 -08:00
  • 15270e003e Ensure -NDEBUG does not get added to spl_config.h and is only set in the build options. This allows other kernel modules to use spl_config to leverage the reset of the config checks without getting confused with the debug options Brian Behlendorf 2009-01-20 11:59:47 -08:00
  • fb5f0bc833 Rebase master to b105 Brian Behlendorf 2009-01-15 13:59:39 -08:00
  • 5566ec0959 Refresh libtool Brian Behlendorf 2009-01-15 10:47:24 -08:00
  • 617d5a673c Rename modules to module and update references Brian Behlendorf 2009-01-15 10:44:54 -08:00
  • f6a19c0d37 Make the splat load message caps just for consistency Brian Behlendorf 2009-01-13 11:45:02 -08:00
  • b172b6dfde TASKQ_DYNAMIC not yet support, do not create the global taskq with that flag or we crash with debug enabled. Also don't bother dumping debug when debugging is diabled, it's pointless Brian Behlendorf 2009-01-13 11:43:05 -08:00
  • b871b8cdef Rework ddi_strtox calls to a native implementation which actuall supports the EINVAL, ERANGE error handling, plus add a regression suite to ensure I got it atleast mostly right Brian Behlendorf 2009-01-13 09:30:59 -08:00
  • 1e4ed6c990 Add missing stub headers Brian Behlendorf 2009-01-09 16:04:44 -08:00
  • 121d48c97d Add basic ksid_lookupdomain and ksiddomain_rele support, just allocations Brian Behlendorf 2009-01-09 15:30:53 -08:00
  • f590d7d374 Make sure we export ddi_quiesce_not_needed Brian Behlendorf 2009-01-09 14:30:30 -08:00
  • 0e41414946 Add two new stub headers Brian Behlendorf 2009-01-09 14:04:13 -08:00
  • 97735c39e3 Add VOP_SEEK Brian Behlendorf 2009-01-09 13:59:39 -08:00
  • d83ba26e18 Add missing policy includes, add missing sun ddi bits Brian Behlendorf 2009-01-09 10:49:47 -08:00
  • 70997fb4b1 Add share.h stub Brian Behlendorf 2009-01-09 10:06:18 -08:00
  • 71c8ab9c68 Drat fix missing ; Brian Behlendorf 2009-01-09 10:05:03 -08:00
  • 23f5c4c281 Add missing callback_context_t and fid_t types Brian Behlendorf 2009-01-09 10:03:37 -08:00
  • 703e7a3cf4 Add stubs for three more includes Brian Behlendorf 2009-01-09 09:47:27 -08:00
  • 434d1d0f8f Add active test for splat list tests Brian Behlendorf 2009-01-07 13:48:36 -08:00
  • d702c04ff1 Add 5 splat tests for list handling Brian Behlendorf 2009-01-07 12:54:03 -08:00
  • 4c18c39ecb Add include/sys/compress.h header Brian Behlendorf 2009-01-06 09:47:00 -08:00
  • 160c63ab76 Add P2BOUNDARY macro Brian Behlendorf 2009-01-06 09:23:13 -08:00
  • 7adbea4141 Pull in some default page typedefs Brian Behlendorf 2009-01-05 16:14:38 -08:00
  • 0f37204417 Add DTRACE_PROBE(a) Brian Behlendorf 2009-01-05 16:09:21 -08:00
  • b53c565e65 Stub u8_textprep.h for inclusion purposes Brian Behlendorf 2009-01-05 15:37:07 -08:00
  • e9cb2b4f64 Add system taskq support Brian Behlendorf 2009-01-05 15:08:03 -08:00
  • 42bcb36c89 Add unicode library Brian Behlendorf 2009-01-05 12:03:23 -08:00
  • 8a2b328b18 Remove u8_textprep, we will not be implementing this nightmare yet Brian Behlendorf 2009-01-05 11:32:08 -08:00
  • 36b849fa51 Remove zdump, it's an unrelateds command which I added simply due to the z* command convention Brian Behlendorf 2009-01-05 11:10:13 -08:00
  • f3fc90c249 Include the header Brian Behlendorf 2008-12-23 16:48:15 -08:00
  • 925ca8cc01 Add sys/thread.h Brian Behlendorf 2008-12-23 16:27:36 -08:00
  • bb9cfc6cc3 Define needfree Brian Behlendorf 2008-12-23 15:59:36 -08:00
  • 2b88beb74f Add timer.h header Brian Behlendorf 2008-12-23 15:40:20 -08:00
  • bbdec3be06 Add u8 stub Brian Behlendorf 2008-12-23 15:38:15 -08:00
  • de79fdd3a8 Move sunddi include Brian Behlendorf 2008-12-23 13:32:07 -08:00
  • 9d457afd1b Add sunddi to uio Brian Behlendorf 2008-12-23 13:30:04 -08:00
  • dc0f920710 Minor updates Brian Behlendorf 2008-12-23 13:25:52 -08:00
  • 926e2b6058 Pull in lock types Brian Behlendorf 2008-12-23 13:18:39 -08:00
  • c1d42c2f1d Add header Brian Behlendorf 2008-12-23 13:05:50 -08:00
  • f5b92a66ad Add a few more missing header which the upstream stock kernel context expects Brian Behlendorf 2008-12-23 13:03:09 -08:00