Changeset 1ec1fd8 in mainline


Ignore:
Timestamp:
2006-06-03T14:14:41Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f9b2f305
Parents:
3ba22ce
Message:

Slightly better behaviour with caching on memory sharing.

Location:
generic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • generic/include/errno.h

    r3ba22ce r1ec1fd8  
    4747#define ETIMEOUT        -12     /* Timeout expired */
    4848#define EINVAL          -13     /* Invalid value */
     49#define EBUSY           -14     /* Resource is busy */
    4950
    5051#endif
  • generic/src/mm/as.c

    r3ba22ce r1ec1fd8  
    545545        src_backend = src_area->backend;
    546546        src_backend_data = src_area->backend_data;
    547        
     547
     548        /* Share the cacheable flag from the original mapping */
     549        if (src_flags & AS_AREA_CACHEABLE)
     550                dst_flags_mask |= AS_AREA_CACHEABLE;
     551
    548552        if (src_size != acc_size || (src_flags & dst_flags_mask) != dst_flags_mask) {
    549553                mutex_unlock(&src_area->lock);
Note: See TracChangeset for help on using the changeset viewer.