Re-enable pcpu caching by default make sysctl R/W

This commit is contained in:
Kip Macy 2008-01-19 22:47:43 +00:00
parent 5b62c3808e
commit 9619451708
2 changed files with 2 additions and 2 deletions

View File

@ -3203,7 +3203,7 @@ t3_add_attach_sysctls(adapter_t *sc)
0, "#times txq overrun");
SYSCTL_ADD_INT(ctx, children, OID_AUTO,
"pcpu_cache_enable",
CTLFLAG_RD, &cxgb_pcpu_cache_enable,
CTLFLAG_RW, &cxgb_pcpu_cache_enable,
0, "#enable driver local pcpu caches");
SYSCTL_ADD_INT(ctx, children, OID_AUTO,
"cache_alloc",

View File

@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$");
#endif
extern int cxgb_use_16k_clusters;
int cxgb_pcpu_cache_enable = 0;
int cxgb_pcpu_cache_enable = 1;
struct buf_stack {
caddr_t *bs_stack;