Patent ID: 7958313

Claim:
A method for target computer processor unit (CPU) determination during cache injection using input/output (I/O) adapter resources, comprising: storing locations of cache lines for cache affinity scheduled processes in a table on an input/output (I/O) adapter; setting a cache injection hint in an input/output (I/O) transaction when an address in the I/O transaction is found in the table, the cache injection hint operable for performing direct cache injection; entering a central processing unit (CPU) identifier and cache type in the I/O transaction; updating a cache by injecting data values of the I/O transaction into the cache as determined by the CPU identifier and the cache type associated with the address in the table; and incrementing a counter in response to receiving a failure notice, wherein setting the cache injection hint is implemented when cache updates for the address have not returned a number of failure notices that equal or exceed a threshold value.