Project

General

Profile

Submit #2721

Some few zalloc calls to objcache ones replacements

Added by dclink over 2 years ago. Updated almost 2 years ago.

Status:
Feedback
Priority:
Low
Assignee:
Category:
Kernel
Target version:
Start date:
08/30/2014
Due date:
% Done:

0%


patch-objcache.txt View (10.2 KB) dclink, 08/30/2014 10:12 AM

History

#1 Updated by tuxillo almost 2 years ago

  • Assignee set to tuxillo
  • Target version set to 4.2.x

Hi,

There are two parts of this patch:

1) Which translates sys/netbt from the zone(9) to objcache(9): Why are you using objcache_dtor() instead of objcache_put() in the send/receive paths? Also, have you tried this changes with bluetooth(4)? Does it work properly?

2) Use objcache(9) for the swap pager. Probably not a good idea. After checking with Matt the pager has special requirements and it has to rely on zone(9).

Usually you'd send separate patches that can be logically divided by functionality or kernel subsystems that they deal with.

Cheers,
Antonio Huete

Also available in: Atom PDF